Skip to content

Commit

Permalink
Merge pull request #95 from ojustino/fix-scale
Browse files Browse the repository at this point in the history
Made quick fix for ss_scale error
  • Loading branch information
astrofrog committed Apr 12, 2018
2 parents c6c73e3 + 9c5e44c commit 9dcd279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywwt/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def _validate_longitude(self, proposal):

@validate('ss_scale')
def _validate_scale(self, proposal):
if 1 <= proposal <= 100:
if 1 <= proposal['value'] <= 100:
return str(proposal['value'])
else:
raise ValueError('ss_scale takes integers from 1-100')
Expand Down

0 comments on commit 9dcd279

Please sign in to comment.