Update helper.py

This commit is contained in:
Varun Sridharan 2022-01-12 18:03:40 +05:30 committed by GitHub
parent 1a74d74043
commit ad6c49e710
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,11 +72,11 @@ def giteaSetRepoStar(owner,repo_name):
def giteaCreateRepo(data,isPrivate,isRepository):
if isPrivate:
data["auth_username"] = config['github']['username']
data["auth_password"] = "{0}".format(config['github']['accesstoken'])
data["auth_password"] = "{0}".format(config['github']['accesstoken'])
if isRepository:
data["wiki"] = True
data["auth_token"] = "{0}".format(config['github']['accesstoken'])
data["auth_token"] = "{0}".format(config['github']['accesstoken'])
data["service"] = 'github'