]> git.parisson.com Git - telecaster-client.git/commitdiff
fix paths
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 27 Sep 2013 06:18:27 +0000 (08:18 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 27 Sep 2013 06:18:27 +0000 (08:18 +0200)
telecaster/models.py

index 8a69a55d4879187137d725661df9f7c366a11a12..dcea59c6045e68b19dec887bed9c63d024f9357f 100644 (file)
@@ -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: