diff --git a/src/rethink/models/files/upload.py b/src/rethink/models/files/upload.py index 563dd08..664d66a 100644 --- a/src/rethink/models/files/upload.py +++ b/src/rethink/models/files/upload.py @@ -229,7 +229,7 @@ def upload_obsidian(uid: str, zipped_files: List[UploadFile]) -> const.Code: if not zipped_file.filename.endswith(".zip"): __set_running_false(uid, const.Code.INVALID_FILE_TYPE) return const.Code.INVALID_FILE_TYPE - if zipped_file.content_type != "application/zip": + if zipped_file.content_type not in ["application/zip", "application/octet-stream", "application/x-zip-compressed"]: __set_running_false(uid, const.Code.INVALID_FILE_TYPE) return const.Code.INVALID_FILE_TYPE