From 9fc7ab92ff827ad93da5707344ad84be6fcdd11e Mon Sep 17 00:00:00 2001 From: Uyanide Date: Mon, 9 Mar 2026 01:23:35 +0100 Subject: [PATCH] fix --- config/scripts/.local/scripts/xgo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()