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