fileStorage/sagas: use pythonFileMimeType

Missed an instance where text/x-python was hard-coded.
This commit is contained in:
David Lechner
2022-03-16 13:22:42 -05:00
parent f17e32af61
commit 6062517dec
+1 -1
View File
@@ -110,7 +110,7 @@ function* handleExportFile(
return;
}
const blob = new Blob([data], { type: 'text/x-python;charset=utf-8' });
const blob = new Blob([data], { type: `${pythonFileMimeType};charset=utf-8` });
if (window.showSaveFilePicker) {
// This uses https://wicg.github.io/file-system-access which is not