Skip to content

Commit

Permalink
Merge pull request #2223 from MattTavares/patch-1
Browse files Browse the repository at this point in the history
Fixed for spelling "writable" in postprocessor.py
  • Loading branch information
basilfx committed May 19, 2015
2 parents 833b90c + 23564c1 commit c5dd1a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions headphones/postprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def doPostProcessing(albumid, albumpath, release, tracks, downloaded_track_list,
if any(files.lower().endswith('.' + x.lower()) for x in headphones.MEDIA_FORMATS):
downloaded_track_list.append(os.path.join(r, files))

# Check if files are valid media files and are writeable, before the steps
# Check if files are valid media files and are writable, before the steps
# below are executed. This simplifies errors and prevents unfinished steps.
for downloaded_track in downloaded_track_list:
try:
Expand Down Expand Up @@ -337,7 +337,7 @@ def doPostProcessing(albumid, albumpath, release, tracks, downloaded_track_list,
fp.seek(0)
except IOError as e:
logger.debug("Write check exact error: %s", e)
logger.error("Track file is not writeable. This is required " \
logger.error("Track file is not writable. This is required " \
"for some post processing steps: %s. Not continuing.",
downloaded_track.decode(headphones.SYS_ENCODING, "replace"))
return
Expand Down

0 comments on commit c5dd1a9

Please sign in to comment.