答案1
注释掉 /usr/share/pyshared/spectlib/watch.py 中的某些行
def check_connection(self):
if not self.specto.connection_manager.connected():
self.specto.logger.log(_(“No network connection detected”), “warning”, self.name)
self.specto.connection_manager.add_callback(self.start_checking)
self.specto.mark_watch_status(“no-network”, self.id)
return False
else:
self.specto.mark_watch_status(“idle”, self.id)
return True
到
def check_connection(self):
# if not self.specto.connection_manager.connected():
# self.specto.logger.log(_(“No network connection detected”), “warning”, self.name)
# self.specto.connection_manager.add_callback(self.start_checking)
# self.specto.mark_watch_status(“no-network”, self.id)
# return False
# else:
self.specto.mark_watch_status(“idle”, self.id)
return True
来源:http://www.produnis.de/blog/?p=1916
或者使用 urlwatch