Remove redundant else
This commit is contained in:
parent
213580ea78
commit
5c344f7efa
|
@ -146,8 +146,6 @@ class Request(dict):
|
||||||
if self._ip is None:
|
if self._ip is None:
|
||||||
self._ip = self.transport.get_extra_info('peername')
|
self._ip = self.transport.get_extra_info('peername')
|
||||||
return self._ip
|
return self._ip
|
||||||
else:
|
|
||||||
return self._ip
|
|
||||||
|
|
||||||
|
|
||||||
File = namedtuple('File', ['type', 'body', 'name'])
|
File = namedtuple('File', ['type', 'body', 'name'])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user