This repository was archived by the owner on Aug 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
idekey crashes app #216
Copy link
Copy link
Open
Description
$ python3.8 ./app.py
Traceback (most recent call last):
File "/home/usr/pugdebug/pugdebug/server.py", line 43, in run
self.__listen(socket_server)
File "/home/usr/pugdebug/pugdebug/server.py", line 91, in __listen
is_valid = connection.init_connection()
File "/home/usr/pugdebug/pugdebug/server.py", line 185, in init_connection
if idekey != '' and init_message['idekey'] != idekey:
KeyError: 'idekey'
Aborted (core dumped)
Proposed fix: change line #185 of server.py from
if idekey != '' and init_message['idekey'] != idekey:
to
if (idekey != '') and ('idekey' in init_message) and (init_message['idekey'] != idekey):
I have just started to use pugdebug.
If you allow me to have access, i will make updates directly, or send you patch file(s), or attach changed files to reported issues.
My email is "[email protected]"
What other information do you require?
Metadata
Metadata
Assignees
Labels
No labels