This commit is contained in:
2026-03-09 01:23:35 +01:00
parent 7f7e093943
commit 9fc7ab92ff
+1 -1
View File
@@ -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()