]> git.parisson.com Git - deefuzzer.git/commitdiff
Added base_dir to paths read from an m3u file
authorachbed <github@achbed.org>
Sat, 24 Jan 2015 08:02:13 +0000 (02:02 -0600)
committerachbed <github@achbed.org>
Sat, 24 Jan 2015 08:02:13 +0000 (02:02 -0600)
deefuzzer/station.py

index 58048665173983e1c4d91df18870f983a9750437..f558e4e0719a7a6ee37258e955f81f7138374775 100644 (file)
@@ -420,7 +420,9 @@ class Station(Thread):
                     try:
                         for path in f.readlines():
                             if '#' != path[0]:
-                                file_list.append(path[:-1])
+                                fp = self._path_add_base(path.strip())
+                                if os.path.isfile(fp):
+                                    file_list.append(fp)
                     except:
                         f.close()
                 except: