NautilusOverlays: return False if sock connection breaks

This commit is contained in:
Klaas Freitag 2014-08-06 09:52:44 +02:00
parent 084d9de4c9
commit 2ccfdcb084

View file

@ -98,6 +98,8 @@ class ownCloudExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.InfoP
for l in data.split('\n'):
self.handle_server_response( l )
else:
return False
return True # run again
@ -122,4 +124,4 @@ class ownCloudExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.InfoP
self.askForOverlay(filename)
break
else:
print "Not in scope:"+filename
print "Not in scope:"+filename