fix
This commit is contained in:
@@ -123,7 +123,7 @@ def main():
|
|||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
archive = args.archive.strip()
|
archive = args.archive.strip()
|
||||||
|
|
||||||
if archive.suffix in ['https://', 'http://']:
|
if archive.startswith(('https://', 'http://')):
|
||||||
archive = download_to(archive, Path.cwd())
|
archive = download_to(archive, Path.cwd())
|
||||||
else:
|
else:
|
||||||
archive = Path(args.archive).resolve()
|
archive = Path(args.archive).resolve()
|
||||||
|
|||||||
Reference in New Issue
Block a user