Skip to content

Commit

Permalink
Add missing list declaration that occurs when run without any arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
talister committed May 13, 2021
1 parent 8c65a34 commit 04e7b12
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def handle(self, *args, **options):
self.stdout.write("==== Fetching Yarkovsky targets %s ====" % (datetime.now().strftime('%Y-%m-%d %H:%M')))

targets = []
yark_targets = []
if options['targetlist'] is not None:
if options['targetlist'] == 'FTP':
targets = None
Expand Down

0 comments on commit 04e7b12

Please sign in to comment.