Skip to content

Commit

Permalink
fixed #7
Browse files Browse the repository at this point in the history
  • Loading branch information
lazywalker committed Dec 13, 2020
1 parent 0eebbaf commit 27420a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ def main():
exsit_task = True
break
if not exsit_task:
options = setup_kiwistation(
_conf["STATIONS"][st], st)
task = new_kiwiworker(
options, band, len(_sr_tasks)+1)
options = setup_kiwistation(_conf["STATIONS"][st], st)
task = new_kiwiworker(options, band, len(_sr_tasks)+1)
logging.info("# wait a second to let pre-tasks have a clean quit")
time.sleep(1)
task.start()
_sr_tasks.append(task)
else: # no tasks available
Expand Down

0 comments on commit 27420a4

Please sign in to comment.