summaryrefslogtreecommitdiffstats
path: root/src/live/ogOperations.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/live/ogOperations.py')
-rw-r--r--src/live/ogOperations.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index b1571d1..0a2232b 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -141,10 +141,10 @@ class OgLiveOperations:
if not image_checksum:
logging.info(f'Removing {file_name} with no checksum file from cache, maybe partial download?')
try:
- if os.path.exists(file_path):
- os.unlink(file_path)
- if os.path.exists(checksum_file_path):
- os.unlink(checksum_file_path)
+ if os.path.exists(file_path):
+ os.unlink(file_path)
+ if os.path.exists(checksum_file_path):
+ os.unlink(checksum_file_path)
except OSError as e:
pass