Check save file result #1

Merged
slrover merged 2 commits from check-save-result into master 2026-06-03 12:36:12 +00:00
Showing only changes of commit 6982393d03 - Show all commits
+3 -1
View File
@@ -229,7 +229,9 @@ class FocusCompliance(Request):
file_type='docx', file_type='docx',
path=path path=path
) )
if not result['success']:
return {'success': False, 'result': result['message']}
return {'success': True, 'file': result} return {'success': True, 'file': result}
except AttributeError: except AttributeError:
return {'success': False, 'result': 'Организация не найдена'} return {'success': False, 'result': 'Организация не найдена'}