Slightly cleaner logging
This commit is contained in:
@@ -147,7 +147,7 @@ class Fetcher(object):
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
print('Changing current link to:', path)
|
print('Changing current link to:', filename)
|
||||||
temp_path = tempfile.mktemp(dir=self._image_dir)
|
temp_path = tempfile.mktemp(dir=self._image_dir)
|
||||||
os.symlink(filename, temp_path)
|
os.symlink(filename, temp_path)
|
||||||
os.rename(temp_path, current_path)
|
os.rename(temp_path, current_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user