Skip to content

Commit

Permalink
remove type argument to store_true
Browse files Browse the repository at this point in the history
  • Loading branch information
joesolly committed Mar 21, 2017
1 parent 8509a83 commit 0e27133
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_rq_wrapper/management/commands/rqworkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def add_arguments(self, parser):
help='Default worker timeout to be used')
parser.add_argument('--workers', '-w', action='store', type=int, dest='num_workers',
default=None, help='Number of workers to spawn, defaults to RQ_CONCURRENCY, or 1')
parser.add_argument('--autoreload', action='store_true', type=bool, dest='autoreload',
parser.add_argument('--autoreload', action='store_true', dest='autoreload',
default=False, help='Enable autoreload of rqworkers for development')

if LooseVersion(get_version()) >= LooseVersion('1.10'):
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
name='django-rq-wrapper',
version='2.0',
version='2.1',
author='ISL',
author_email='dev@isl.co',
description=('Django management command to run multiple rq workers in one command and autoreload.'),
Expand Down

0 comments on commit 0e27133

Please sign in to comment.