Skip to content

Commit

Permalink
Fix fretwork version checking issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Dec 19, 2015
1 parent 9853c91 commit b63bcff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FoFiX.py
Expand Up @@ -141,7 +141,7 @@ def cmd_args():
Required: {1}
'''
if getattr(fretwork, '__version__'): # The first version of fretwork didnt have __version__
version, verType = fretwork.__version__.split('-') # remove 'dev' from ver
version = fretwork.__version__.split('-')[0] # remove 'dev' from ver
version = tuple([int(i) for i in version.split('.')])

if version < fretworkRequired:
Expand Down

0 comments on commit b63bcff

Please sign in to comment.