mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-06 08:28:03 +01:00
Merge pull request #84 from johbo/fix-python36-skip-existing
Mark string as binary in comparison for skip_existing
This commit is contained in:
@@ -831,7 +831,7 @@ def fetch_repository(name,
|
||||
clone_exists = subprocess.check_output(['git',
|
||||
'rev-parse',
|
||||
'--is-bare-repository'],
|
||||
cwd=local_dir) == "true\n"
|
||||
cwd=local_dir) == b"true\n"
|
||||
else:
|
||||
clone_exists = False
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user