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
ad6c49e710
commit
6503d0241a
@ -75,12 +75,12 @@ def giteaCreateRepo(data,isPrivate,isRepository):
|
||||
data["auth_password"] = "{0}".format(config['github']['accesstoken'])
|
||||
|
||||
if isRepository:
|
||||
data["service"] = 'github'
|
||||
data["wiki"] = True
|
||||
data["auth_token"] = "{0}".format(config['github']['accesstoken'])
|
||||
|
||||
|
||||
data["service"] = 'github'
|
||||
|
||||
|
||||
jsonstring = json.dumps(data)
|
||||
r = session.post(giteaHost('repos/migrate'), data=jsonstring)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user