From: yomguy Date: Fri, 25 Jul 2008 07:19:23 +0000 (+0000) Subject: Fix callable str X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=f82fdccb8db4afc93980630e63b8d70b751ab00a;p=telecaster-cgi.git Fix callable str --- diff --git a/etc/telecaster_mp3.cfg b/etc/telecaster_mp3.cfg index d6bd733..bf82812 100644 --- a/etc/telecaster_mp3.cfg +++ b/etc/telecaster_mp3.cfg @@ -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 diff --git a/telecaster.py b/telecaster.py index c17a2a8..366d5b0 100755 --- a/telecaster.py +++ b/telecaster.py @@ -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']