Commits

Travis Shirk  committed bfbfc2c

Fix for setting of non standard text frames. Fixes #26

  • Participants
  • Parent commits e2ebd8a
  • Branches stable

Comments (0)

Files changed (1)

File src/eyed3/id3/frames.py

         the same Id is already in the list it's value is changed, otherwise
         the frame is added.
         '''
-        assert(fid[0] == "T" and fid in list(ID3_FRAMES.keys()))
+        assert(fid[0] == "T" and (fid in ID3_FRAMES or
+                                  fid in NONSTANDARD_ID3_FRAMES))
 
         if fid in self:
             self[fid][0].text = text