# HG changeset patch # User Goffi # Date 1293459268 -3600 # Node ID 5c420b1f1df4727049d7edd6fc5df9b349bd7ae5 # Parent 800db401585edbf54f62446b3a9b64dc2cfb677b removed connect on statService, this was causing issue on first launch diff -r 800db401585e -r 5c420b1f1df4 sat.tac --- a/sat.tac Mon Dec 27 15:12:39 2010 +0100 +++ b/sat.tac Mon Dec 27 15:14:28 2010 +0100 @@ -435,7 +435,8 @@ def startService(self): info("Salut à toi ô mon frère !") - self.connect() + #TODO: manage autoconnect + #self.connect() def stopService(self): self.memory.save() @@ -552,7 +553,7 @@ profile = self.memory.getProfileName(profile_key) if not profile: error (_('asking connection status for a non-existant profile')) - raise Exception #TODO: raise a proper exception + return if not self.profiles.has_key(profile): return False return self.profiles[profile].isConnected()