Skip to content

Commit

Permalink
bugfix for print representation, bump up version
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian-Robert Stöter committed Jul 20, 2016
1 parent 5a8ffdf commit 6e76139
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def __getattr__(cls, name):
copyright = u'2016, Fabian-Robert Stöter'
author = u'Fabian-Robert Stöter'

version = u'0.1.2'
release = u'0.1.2'
version = u'0.1.3'
release = u'0.1.3'

language = None

Expand Down
11 changes: 5 additions & 6 deletions dsdtools/audio_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,12 @@ def __init__(
):
self.filename = filename
try:
track_id, track_artist, track_title = \
filename.split(' - ')
self.id = int(track_id)
self.artist = track_artist
self.title = track_title
split_name = filename.split(' - ')
self.id = int(split_name[0])
self.artist = split_name[1]
self.title = split_name[2]
except ValueError:
self.id = track_id
self.id = 0
self.artist = track_artist
self.title = track_title

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name='dsdtools',

# Version
version="0.1.2",
version="0.1.3",

# Description
description='Python tools for the Demixing Secrets Dataset (DSD)',
Expand Down

0 comments on commit 6e76139

Please sign in to comment.