]> git.parisson.com Git - deefuzzer.git/commitdiff
Update station.py
authorFrançois LASSERRE <choiz@me.com>
Fri, 30 Jan 2015 21:17:24 +0000 (22:17 +0100)
committerFrançois LASSERRE <choiz@me.com>
Fri, 30 Jan 2015 21:17:24 +0000 (22:17 +0100)
Fix m3u listing files.

deefuzzer/station.py

index 748abb8fb8ff17d18d9f6d3adf73a95d4a6c22fb..af4cb02c6fd1181425efed07922bd78eb9229f84 100644 (file)
@@ -291,7 +291,7 @@ class Station(Thread):
         return os.path.join(self.base_directory, a)
 
     def _path_m3u_rel(self, a):
-        return os.path.join(os.path.dirname(self.source), a)
+        return os.path.join(os.path.dirname(self.media_source), a)
 
     def _log(self, level, msg):
         try: