diff --git a/apps/daemon/src/projects.ts b/apps/daemon/src/projects.ts index 7e553943e..c69473d99 100644 --- a/apps/daemon/src/projects.ts +++ b/apps/daemon/src/projects.ts @@ -289,7 +289,7 @@ export function kindFor(name) { if (['.mp4', '.mov', '.webm'].includes(ext)) return 'video'; if (['.mp3', '.wav', '.m4a'].includes(ext)) return 'audio'; if (['.md', '.txt'].includes(ext)) return 'text'; - if (['.js', '.mjs', '.cjs', '.ts', '.tsx', '.json', '.css'].includes(ext)) { + if (['.js', '.mjs', '.cjs', '.ts', '.tsx', '.json', '.css', '.py'].includes(ext)) { return 'code'; } if (ext === '.pdf') return 'pdf';