Skip to content

Commit

Permalink
Possible fix for #190
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Nov 15, 2016
1 parent 8e704b3 commit 7d7566d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions huey/contrib/djhuey/management/commands/run_huey.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def add_argument(self, *args, **kwargs):
if 'type' in kwargs:
# Convert `type=int` to `type="int"`, etc.
kwargs['type'] = kwargs['type'].__name__
if kwargs.get('default') is not True:
kwargs.pop('default', None)
self.command.option_list += (make_option(*args, **kwargs),)


Expand Down

0 comments on commit 7d7566d

Please sign in to comment.