More fixes on the way to reliable site updates.
This commit is contained in:
parent
d1b9cc8261
commit
e8358ee8f2
3 changed files with 79 additions and 50 deletions
|
@ -386,6 +386,9 @@ class ConnectionServer(object):
|
|||
else:
|
||||
gevent.spawn(self.onInternetOffline)
|
||||
|
||||
def isInternetOnline(self):
|
||||
return self.has_internet
|
||||
|
||||
def onInternetOnline(self):
|
||||
self.log.info("Internet online")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue