Browse Source

fix without_hash to without_fragment

Nick Sweeting 6 years ago
parent
commit
c95632883e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      archivebox/archive_methods.py

+ 2 - 2
archivebox/archive_methods.py

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