Update helper.py

This commit is contained in:
Varun Sridharan 2022-01-12 18:06:50 +05:30 committed by GitHub
parent ad6c49e710
commit 6503d0241a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,11 +75,11 @@ 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)