Commit d6571524 authored by Rob Carleski's avatar Rob Carleski 🇮🇸
Browse files

Fix bad check for label file.

parent 6bd0e61e
......@@ -36,6 +36,7 @@ class Mover:
self.logger.error(e.output, extra={'entity': self.current_owner})
exit(2)
if hasattr(self, 'label_file'):
try:
with open(self.label_file) as labelFile:
self.labels = []
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment