mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
Update boolean check
This commit is contained in:
@@ -433,7 +433,7 @@ def get_github_repo_url(args, repository):
|
||||
return repository['ssh_url']
|
||||
|
||||
auth = get_auth(args, encode=False, for_git_cli=True)
|
||||
if auth and repository['private'] == True:
|
||||
if auth and repository['private'] is True:
|
||||
repo_url = 'https://{0}@{1}/{2}/{3}.git'.format(
|
||||
auth,
|
||||
get_github_host(args),
|
||||
|
||||
Reference in New Issue
Block a user