Updated issue reporter
This commit is contained in:
parent
0bc88c0cd0
commit
0160215fb5
@ -14,5 +14,4 @@ short_name = "musicdl"
|
|||||||
translators = [_(u"Manuel Cortez (Spanish)"), _("Valeria K (Russian)"), ]
|
translators = [_(u"Manuel Cortez (Spanish)"), _("Valeria K (Russian)"), ]
|
||||||
bts_name = "music_dl"
|
bts_name = "music_dl"
|
||||||
bts_access_token = "fe3j2ijirvevv9"
|
bts_access_token = "fe3j2ijirvevv9"
|
||||||
bts_url = "https://issues.manuelcortez.net"
|
bts_url = "https://issues.manuelcortez.net"
|
||||||
bts_project_id = 7
|
|
@ -57,7 +57,7 @@ class reportBug(object):
|
|||||||
operating_system = platform.platform()
|
operating_system = platform.platform()
|
||||||
json = dict(title=title, issue_type=issue_type, body=body, operating_system=operating_system, app_type=app_type, app_version=app_version, reporter_name=reporter_name, reporter_contact_handle=reporter_contact_handle, reporter_contact_type=reporter_contact_type)
|
json = dict(title=title, issue_type=issue_type, body=body, operating_system=operating_system, app_type=app_type, app_version=app_version, reporter_name=reporter_name, reporter_contact_handle=reporter_contact_handle, reporter_contact_type=reporter_contact_type)
|
||||||
auth=HTTPBasicAuth(application.bts_name, application.bts_access_token)
|
auth=HTTPBasicAuth(application.bts_name, application.bts_access_token)
|
||||||
url = "{bts_url}/issue/{project_id}/new".format(bts_url=application.bts_url, project_id=application.bts_project_id)
|
url = "{bts_url}/issue/new".format(bts_url=application.bts_url)
|
||||||
call_threaded(self.do_report, url, json=json, auth=auth)
|
call_threaded(self.do_report, url, json=json, auth=auth)
|
||||||
self.dialog.show_progress()
|
self.dialog.show_progress()
|
||||||
self.dialog.EndModal(wx.ID_OK)
|
self.dialog.EndModal(wx.ID_OK)
|
Loading…
Reference in New Issue
Block a user