From: Guillaume Pellerin Date: Fri, 27 Sep 2013 06:18:27 +0000 (+0200) Subject: fix paths X-Git-Tag: 0.9~16 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=539cf7dbcae024ab5fe039fafa0f122e9861ca62;p=telecaster-client.git fix paths --- diff --git a/telecaster/models.py b/telecaster/models.py index 8a69a55..dcea59c 100644 --- a/telecaster/models.py +++ b/telecaster/models.py @@ -203,9 +203,9 @@ class Station(Model): os.system('kill -9 '+str(self.pid)) else: if self.format == 'mp3': - os.system('touch ' + self.record_dir + os.sep + 'mp3.tofix') + os.system('touch "' + self.record_dir + os.sep + 'mp3.tofix"') elif self.format == 'webm': - os.system('touch ' + self.record_dir + os.sep + 'webm.tofix') + os.system('touch "' + self.record_dir + os.sep + 'webm.tofix"') try: os.system('kill -9 '+str(self.pid)) except: