Add image

This commit is contained in:
Ian Gulliver
2016-03-31 14:46:29 -07:00
parent 4026a676f6
commit f5bb1628a3
2 changed files with 167 additions and 1 deletions

View File

@@ -155,7 +155,7 @@ class Fetcher(object):
print('Changing current link to:', path)
temp_path = tempfile.mktemp(dir=self._image_dir)
os.symlink(path, temp_path)
os.symlink(filename, temp_path)
os.rename(temp_path, current_path)
def Fetch(self):