mirror of https://gitlab.com/bashrc2/epicyon
Check that backup image exists
parent
ac4613e7f3
commit
18924e8a24
|
|
@ -1944,6 +1944,8 @@ def _receive_new_post_process(self, post_type: str, path: str, headers: {},
|
|||
exif_json = []
|
||||
print('ERROR: POST media could not be saved to ' +
|
||||
post_image_filename)
|
||||
# remove the original image backup
|
||||
if is_a_file(backup_filename):
|
||||
erase_file(backup_filename,
|
||||
'EX: failed to delete backup image ' +
|
||||
backup_filename)
|
||||
|
|
|
|||
Loading…
Reference in New Issue