fix report_url
This commit is contained in:
parent
39a3830deb
commit
a0da2c25db
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ def displayErrorMessage(err, error_log_path):
|
||||||
res = ctypes.windll.user32.MessageBoxW(0, err_title, "ZeroNet error", MB_YESNOCANCEL | MB_ICONEXCLAIMATION)
|
res = ctypes.windll.user32.MessageBoxW(0, err_title, "ZeroNet error", MB_YESNOCANCEL | MB_ICONEXCLAIMATION)
|
||||||
if res == ID_YES:
|
if res == ID_YES:
|
||||||
import webbrowser
|
import webbrowser
|
||||||
report_url = "https://github.com/HelloZeroNet/ZeroNet/issues/new?assignees=&labels=&template=bug-report.md&title=%s"
|
report_url = "https://github.com/zeronet-conservancy/zeronet-conservancy/issues/new"
|
||||||
webbrowser.open(report_url % urllib.parse.quote("Unhandled exception: %s" % err_message))
|
webbrowser.open(report_url)
|
||||||
if res in [ID_YES, ID_NO]:
|
if res in [ID_YES, ID_NO]:
|
||||||
subprocess.Popen(['notepad.exe', error_log_path])
|
subprocess.Popen(['notepad.exe', error_log_path])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue