Commits

Travis Shirk  committed e64c6ce

Bug fix in rename when path_friendly == False

  • Participants
  • Parent commits 0c80693
  • Branches stable

Comments (0)

Files changed (1)

File src/eyed3/id3/tag.py

                              self.pattern)
 
         name = self.pattern.sub(convert, self.template)
-        if self._path_friendly:
-            return name.replace('/', '-')
+        return name.replace('/', '-') if self._path_friendly else name
 
     safe_substitute = substitute