fixed up some missing try/excepts on os. calls

This commit is contained in:
2022-08-06 12:02:10 +10:00
parent 60b95b6152
commit 20c76609cd
2 changed files with 70 additions and 37 deletions

5
TODO
View File

@@ -1,9 +1,4 @@
## GENERAL
* put try: around any os.remove, os.symlink etc.
File "/code/pa_job_manager.py", line 1088, in CreateSymlink
os.symlink(path, symlink)
FileExistsError: [Errno 17] File exists: '/export/docker/storage/.pa_metadata/' -> 'static/Metadata/.pa_metadata'
* remove multiple Paths from SettingsIPath, etc.
* should I change the rotation code to use that jpeg util to reduce/remove compression loss?