Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nicfit/eyeD3
Browse files Browse the repository at this point in the history
* 'master' of github.com:nicfit/eyeD3:
  pep8 !wip
  • Loading branch information
nicfit committed Nov 4, 2017
2 parents 32c3551 + 32d9a61 commit d635846
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/eyed3/id3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def isValidVersion(v, fully_qualified=False):


def normalizeVersion(v):
'''If version tuple ``v`` is of the non-specific type (v1 or v2, any, etc.)
a fully qualified version is returned.'''
"""If version tuple ``v`` is of the non-specific type (v1 or v2, any, etc.)
a fully qualified version is returned."""
if v == ID3_V1:
v = ID3_V1_1
elif v == ID3_V2:
Expand Down
6 changes: 3 additions & 3 deletions src/eyed3/mp3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def bit_rate_str(self):


class Mp3AudioFile(core.AudioFile):
'''Audio file container for mp3 files.'''
"""Audio file container for mp3 files."""

def __init__(self, path, version=id3.ID3_ANY_VERSION):
self._tag_version = version
Expand Down Expand Up @@ -197,8 +197,8 @@ def _read(self):
self.type = core.AUDIO_MP3

def initTag(self, version=id3.ID3_DEFAULT_VERSION):
'''Add a id3.Tag to the file (removing any existing tag if one exists).
'''
"""Add a id3.Tag to the file (removing any existing tag if one exists).
"""
self.tag = id3.Tag()
self.tag.version = version
self.tag.file_info = id3.FileInfo(self.path)
Expand Down

0 comments on commit d635846

Please sign in to comment.