Fix 'tuple' object has no attribute 'copy'

Occurred when switching interfaces and there were unanswered
requests that need resending.  This bug isn't new; it's been
there since at least 3rd June.
This commit is contained in:
Neil Booth
2015-09-02 11:56:53 +09:00
parent 0fa48b926c
commit cdcd4d7215
2 changed files with 1 additions and 3 deletions

View File

@@ -243,8 +243,6 @@ class Interface:
def queue_request(self, request):
'''Queue a request.'''
if type(request) != type({}):
traceback.print_exc(file=sys.stderr)
self.request_time = time.time()
self.unsent_requests.append(request)