]> git.parisson.com Git - telecaster-cgi.git/commitdiff
logger less verbose
authoryomguy <yomguy@parisson.com>
Thu, 14 Jul 2011 14:55:10 +0000 (16:55 +0200)
committeryomguy <yomguy@parisson.com>
Thu, 14 Jul 2011 14:55:10 +0000 (16:55 +0200)
telecaster.py

index 5f0f7febe80caacfcf0da7a8e9a809b0db2ee9a4..ff66ccd7da52bc203224e71ddc5fefe9250dfb1a 100755 (executable)
@@ -35,8 +35,7 @@
 # Author: Guillaume Pellerin <yomguy@parisson.com>
 """
 
-version = '0.5.4'
-
+version = '0.5.5'
 
 import os
 import re
@@ -127,7 +126,6 @@ class TeleCaster:
         elif deefuzzer_pid != [] and os.path.exists(self.lock_file) and not form.has_key("action"):
             self.conference_dict = get_conference_from_lock(self.lock_file)
             form.stop_form(self.conference_dict, writing, casting)
-            self.logger.write_info('started')
 
         elif deefuzzer_pid and form.has_key("action") and form["action"].value == "stop":
             self.logger.write_info('stopping')
@@ -140,7 +138,6 @@ class TeleCaster:
 
         elif deefuzzer_pid == []:
             form.start_form(writing, casting)
-            self.logger.write_info('stopped')
 
        elif deefuzzer_pid != []:
            os.system('kill -9 '+deefuzzer_pid[0])
@@ -152,5 +149,3 @@ if __name__ == '__main__':
     sys.stderr = sys.stdout
     t = TeleCaster(conf_file)
     t.main()
-
-