mirror of https://git.48k.eu/ogclient
live: incorrect indentation
f2a2f53074
('live: remove file from cache with no checksum file') broke
indentation which breaks ogClient.
master
v1.3.2-17
parent
6704abc620
commit
05b7a576b0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue