Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit b6770de

Browse files
committed
Fix for invalid file exception.
1 parent 3a0874d commit b6770de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enhance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def load_original(self, filename):
183183
except Exception as e:
184184
warn('Could not load `{}` as image.'.format(filename),
185185
' - Try fixing or removing the file before next run.')
186-
self.files.remove(f)
186+
self.files.remove(filename)
187187
return None
188188

189189
def load_seed(self, filename, original, zoom):

0 commit comments

Comments
 (0)