Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Commit

Permalink
Merge pull request #26 from Murodese/development
Browse files Browse the repository at this point in the history
fixes #25: strip brackets from total_parts regardless of whether a slash...
  • Loading branch information
jamesmeneghello committed Nov 16, 2013
2 parents 7ce56e5 + 7210964 commit e83fa08
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pynab/binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,9 @@ def process():
if match['parts'].find('/') == -1:
match['parts'] = match['parts'].replace('-', '/') \
.replace('~', '/').replace(' of ', '/') \
.replace('[', '').replace(']', '') \
.replace('(', '').replace(')', '')

match['parts'].replace('[', '').replace(']', '') \
.replace('(', '').replace(')', '')

current, total = match['parts'].split('/')

Expand Down

0 comments on commit e83fa08

Please sign in to comment.