Skip to content

Commit

Permalink
Better display of titles
Browse files Browse the repository at this point in the history
  • Loading branch information
Youri Ackx committed Aug 10, 2014
1 parent ad044a1 commit 7c090e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions track.py
Expand Up @@ -22,10 +22,10 @@ def download_from_id(client_id, track_id, dir, override=False):

def download(client, track, dir, override=False):
"""Download a track using the given SC client"""
print track.title
title = fix_title(track.title, track.user['username'])
print '"%s"' % title
if not dir: dir = 'mp3'
utils.create_dir(dir)
title = fix_title(track.title, track.user['username'])
file_name = utils.build_file_name(dir, title)

if not override and os.path.exists(file_name):
Expand Down

0 comments on commit 7c090e9

Please sign in to comment.