Skip to content

Commit fb0ca76

Browse files
committed
Error message correction
1 parent 48badca commit fb0ca76

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

flextaxd/modules/DownloadGenomes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ def download_files(self,files):
160160
break
161161
if len(self.not_downloaded) > 0:
162162
self.write_missing(self.not_downloaded)
163+
except KeyboardInterrupt:
164+
logger.info("Program was interrupted by user: cleaning up subprocesses!")
163165
finally: ## Make sure all sub-processes are ended even if program is forced to quit
164-
logger.info("Program interrupted: cleaning up subprocesses!")
165166
if any(proc.is_alive() for proc in jobs):
166167
for p in jobs:
167168
print(p)

0 commit comments

Comments
 (0)