返回提交历史
Modified
g4f/gui/server/backend_api.py
+1
-1
XFEstudio/gpt4free
Fix upload docx
6948ab9b
代码差异
1 个文件
+1
-1
@@ -378,7 +378,7 @@ class Backend_Api(Api):
378
378
except Exception as e:
379
379
logger.exception(e)
380
380
is_media = is_allowed_extension(filename)
381
is_supported = supports_filename(filename)
381
is_supported = result or supports_filename(filename)
382
382
if not is_media and not is_supported:
383
383
os.remove(copyfile)
384
384
continue