From effbd27047a0e1761c01a685a1a4342141529714 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 24 Jul 2015 16:00:13 -0700 Subject: [PATCH] minor rearrangement --- src/wormhole/blocking/transcribe.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wormhole/blocking/transcribe.py b/src/wormhole/blocking/transcribe.py index 8d74012..4560350 100644 --- a/src/wormhole/blocking/transcribe.py +++ b/src/wormhole/blocking/transcribe.py @@ -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):