2
0
Эх сурвалжийг харах

fix without_hash to without_fragment

Nick Sweeting 6 жил өмнө
parent
commit
c95632883e

+ 2 - 2
archivebox/archive_methods.py

@@ -41,7 +41,7 @@ from config import (
     GIT_SHA,
 )
 from util import (
-    without_hash,
+    without_fragment,
     check_dependencies,
     fetch_page_title,
     progress,
@@ -620,7 +620,7 @@ def fetch_git(link_dir, link, timeout=TIMEOUT):
         'clone',
         '--mirror',
         '--recursive',
-        without_hash(link['url']),
+        without_fragment(link['url']),
     ]
     output = 'git'