summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-09-03 19:26:18 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-09-03 19:44:43 +0200
commit05b7a576b07522876633f2cecab4556be5823566 (patch)
tree7dd477c7e589cee96ad80ece5b4c8e4bc4b67813
parent6704abc620fe52f180e7b21c2d6d7dd61a2eb3c2 (diff)
live: incorrect indentationv1.3.2-17
f2a2f5307464 ('live: remove file from cache with no checksum file') broke indentation which breaks ogClient.
-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