mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-28 08:39:54 +02:00
add author and version
This commit is contained in:
@@ -67,7 +67,7 @@ if not USE_COLOR:
|
||||
try:
|
||||
GIT_SHA = run(["git", "rev-list", "-1", "HEAD", "./"], stdout=PIPE, cwd=REPO_DIR).stdout.strip().decode()
|
||||
except Exception:
|
||||
GIT_SHA = None
|
||||
GIT_SHA = 'unknown'
|
||||
print('[!] Warning, you need git installed for some archiving features to save correct version numbers!')
|
||||
|
||||
if sys.stdout.encoding.upper() != 'UTF-8':
|
||||
|
Reference in New Issue
Block a user