Skip to content

Commit 4f06136

Browse files
committed
Formatting
1 parent 743463d commit 4f06136

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

zeronet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ def displayErrorMessage(err, error_log_path):
6060
ID_CANCEL = 0x2
6161

6262
err_message = "%s: %s" % (type(err).__name__, err)
63+
err_title = "Unhandled exception: %s\nReport error?" % err_message
6364

64-
res = ctypes.windll.user32.MessageBoxW(0, "Unhandled exception: %s\nReport error?" % err_message, "ZeroNet error", MB_YESNOCANCEL | MB_ICONEXCLAIMATION)
65+
res = ctypes.windll.user32.MessageBoxW(0, err_title, "ZeroNet error", MB_YESNOCANCEL | MB_ICONEXCLAIMATION)
6566
if res == ID_YES:
6667
import webbrowser
6768
report_url = "https://github.com/HelloZeroNet/ZeroNet/issues/new?assignees=&labels=&template=bug-report.md&title=%s"

0 commit comments

Comments
 (0)