[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1638] Fix opening of track file.
From: |
Daniel Watkins |
Subject: |
[Librefm-commits] [1638] Fix opening of track file. |
Date: |
Fri, 15 May 2009 19:41:08 +0000 |
Revision: 1638
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1638
Author: odd_bloke
Date: 2009-05-15 19:41:08 +0000 (Fri, 15 May 2009)
Log Message:
-----------
Fix opening of track file.
Modified Paths:
--------------
trunk/scripts/offline-submit.py
Modified: trunk/scripts/offline-submit.py
===================================================================
--- trunk/scripts/offline-submit.py 2009-05-15 19:41:06 UTC (rev 1637)
+++ trunk/scripts/offline-submit.py 2009-05-15 19:41:08 UTC (rev 1638)
@@ -30,11 +30,11 @@
def _get_track(filename):
- f = mutagen.File(track)
+ f = mutagen.File(filename)
if f is None:
raise Exception("%s caused problems." % (track,))
if isinstance(f, mutagen.mp3.MP3):
- f = mutagen.mp3.MP3(track, ID3=easyid3.EasyID3)
+ f = mutagen.mp3.MP3(filename, ID3=easyid3.EasyID3)
return f
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1638] Fix opening of track file.,
Daniel Watkins <=