]> git.parisson.com Git - telecaster-cgi.git/commitdiff
Fix callable str
authoryomguy <yomguy@parisson.com>
Fri, 25 Jul 2008 07:19:23 +0000 (07:19 +0000)
committeryomguy <yomguy@parisson.com>
Fri, 25 Jul 2008 07:19:23 +0000 (07:19 +0000)
etc/telecaster_mp3.cfg
telecaster.py

index d6bd733fc1e5c615717348442224f33df44c990a..bf828122bda7582ce8034e8adc19202fed1a8a61 100644 (file)
@@ -1,7 +1,7 @@
 Server=localhost
 Port=8000
 ServerPassword=source2parisson
-ServerMountpoint=/Pre-Barreau_-_ICP_-_ENM_-_REUNION.mp3
+ServerMountpoint=/Pre-Barreau_-_ICP_-_AE_-_Adm_Correction.mp3
 ServerPublic=0
 AutomaticReconnectSecs=10
 Encode=MP3 Lame
@@ -13,8 +13,8 @@ ServerType=Icecast2
 ExternalFile=/tmp/test
 #YP Settings
 ServerStreamURL=http://www.pre-barreau.com
-ServerName=Pre-Barreau_-_ICP_-_ENM_-_REUNION
-ServerDescription=Pre-Barreau_-_ICP_-_ENM_-_REUNION_-_3_-_GIUSTINIANI_G._-_3e_cours
+ServerName=Pre-Barreau_-_ICP_-_AE_-_Adm_Correction
+ServerDescription=Pre-Barreau_-_ICP_-_AE_-_Adm_Correction_-_2_-_MARINHO_A._-_1er_cours
 ServerGenre=Teaching
 #Advanced Settings
 LogLevel=1
index c17a2a8bba533c67740e3c273f611669080d3016..366d5b01e947de150185f5f97dab660de2149ebc 100755 (executable)
@@ -59,7 +59,7 @@ class Station(Conference):
     def __init__(self, conf_file, conference_dict, lock_file):
         Conference.__init__(self, conference_dict)
         self.date = datetime.datetime.now().strftime("%Y")
-        self.time = str(datetime.datetime.now().strftime("%x-%X")).replace('/','_')
+        self.time = datetime.datetime.now().strftime("%x-%X").replace('/','_')
         self.conf = xml2dict(conf_file)
         self.conf = self.conf['telecaster']
         self.root_dir = self.conf['server']['root_dir']