Skip to content

Commit

Permalink
Merge pull request #21 from squigglezworth/fix-max_public
Browse files Browse the repository at this point in the history
Properly validate 'max_public' as an integer
  • Loading branch information
dgw committed Dec 1, 2017
2 parents 1cb2a93 + 4c996b1 commit 3fe91c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel_modules/wolfram/wolfram.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

class WolframSection(StaticSection):
app_id = ValidatedAttribute('app_id', default=None)
max_public = ValidatedAttribute('max_public', default=5)
max_public = ValidatedAttribute('max_public', parse=int, default=5)
units = ChoiceAttribute('units', choices=['metric', 'nonmetric'], default='metric')


Expand Down

0 comments on commit 3fe91c6

Please sign in to comment.