Commit e124bc83 authored by Bernhard Geier's avatar Bernhard Geier

fix return value of download function on failure

parent 3894b59c
......@@ -77,7 +77,7 @@ def download(url: str, file_path: str, attempts=4):
return True # success
except Exception as ex:
return False
return None
return False
# search for show
Markdown is supported
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