mirror of
https://github.com/varunsridharan/github-gitea-mirror.git
synced 2024-10-05 13:47:12 +03:00
Update helper.py
This commit is contained in:
parent
1a74d74043
commit
ad6c49e710
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user