-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ | |
'Claudia Mengoni ([email protected]), ' | ||
'Mattia Bolzan ([email protected]), ' | ||
'Nicola Segata ([email protected])') | ||
__version__ = '3.0.54' | ||
__date__ = '26 August 2020' | ||
__version__ = '3.0.55' | ||
__date__ = '28 August 2020' | ||
|
||
|
||
import os | ||
|
@@ -3117,11 +3117,13 @@ def download_and_unpack_db(db_name, db_url, db_md5, folder, update=False, verbos | |
error('database directory "{}" is not writeable, please modify the permissions'.format(folder), exit=True) | ||
|
||
# download database | ||
tar_file = os.path.join(folder, os.path.basename(db_url).replace('?dl=1', '')) | ||
# tar_file = os.path.join(folder, os.path.basename(db_url).replace('?dl=1', '')) | ||
tar_file = os.path.join(folder, os.path.basename(db_url).replace('?download=1', '')) | ||
download(db_url, tar_file, overwrite=update, verbose=verbose) | ||
|
||
# download MD5 checksum | ||
md5_file = os.path.join(folder, os.path.basename(db_md5).replace('?dl=1', '')) | ||
# md5_file = os.path.join(folder, os.path.basename(db_md5).replace('?dl=1', '')) | ||
md5_file = os.path.join(folder, os.path.basename(db_md5).replace('?download=1', '')) | ||
download(db_md5, md5_file, overwrite=update, verbose=verbose) | ||
|
||
md5_md5 = None | ||
|