diff --git a/config/scripts/.local/scripts/xgo b/config/scripts/.local/scripts/xgo index 3841953..0bb3e87 100755 --- a/config/scripts/.local/scripts/xgo +++ b/config/scripts/.local/scripts/xgo @@ -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()