more pythonic
This commit is contained in:
parent
bfabd11f17
commit
e34f99cd30
|
@ -253,7 +253,7 @@ running instance of Gajim. \nFile Transfer will be canceled.\n==================
|
||||||
result = sender.get_file_contents(0)
|
result = sender.get_file_contents(0)
|
||||||
self.process_result(result, sender)
|
self.process_result(result, sender)
|
||||||
elif sender.state == 7:
|
elif sender.state == 7:
|
||||||
while(True):
|
while True:
|
||||||
if sender.file_props['paused']:
|
if sender.file_props['paused']:
|
||||||
break
|
break
|
||||||
if not sender.connected:
|
if not sender.connected:
|
||||||
|
|
Loading…
Reference in New Issue