diff --git a/sat.tac b/sat.tac index 2b05c873..0263a3e6 100644 --- a/sat.tac +++ b/sat.tac @@ -435,7 +435,8 @@ class SAT(service.Service): 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 @@ class SAT(service.Service): 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()