Skip to content

Commit 7347659

Browse files
author
Jon Palmer
committed
fix moving log file error
1 parent ce0985e commit 7347659

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/funannotate-remote.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -296,4 +296,5 @@ def download(url, name):
296296

297297
lib.log.info("Remote searches complete")
298298
#move logfile
299-
os.rename(log_name, os.path.join(outputdir, 'logfiles', log_name))
299+
if os.path.isfile(log_name):
300+
os.rename(log_name, os.path.join(outputdir, 'logfiles', log_name))

0 commit comments

Comments
 (0)