minor rearrangement
This commit is contained in:
parent
cfe51f73c1
commit
effbd27047
|
@ -44,6 +44,9 @@ class UsageError(Exception):
|
|||
# POST /CHANNEL-ID/SIDE/deallocate -> waiting | deleted
|
||||
|
||||
class Wormhole:
|
||||
motd_displayed = False
|
||||
version_warning_displayed = False
|
||||
|
||||
def __init__(self, appid, relay):
|
||||
self.appid = appid
|
||||
self.relay = relay
|
||||
|
@ -62,9 +65,6 @@ class Wormhole:
|
|||
url += "/" + msgnum
|
||||
return url
|
||||
|
||||
motd_displayed = False
|
||||
version_warning_displayed = False
|
||||
|
||||
def handle_welcome(self, welcome):
|
||||
if ("motd" in welcome and
|
||||
not self.motd_displayed):
|
||||
|
|
Loading…
Reference in New Issue
Block a user