diff --git a/rq/cli/cli.py b/rq/cli/cli.py index da156d3..8bb79de 100755 --- a/rq/cli/cli.py +++ b/rq/cli/cli.py @@ -24,6 +24,12 @@ from .helpers import (get_redis_from_config, read_config_file, refresh, show_workers) +# Disable the warning that Click displays (as of Click version 5.0) when users +# use unicode_literals in Python 2. +# See http://click.pocoo.org/dev/python3/#unicode-literals for more details. +click.disable_unicode_literals_warning = True + + url_option = click.option('--url', '-u', envvar='RQ_REDIS_URL', help='URL describing Redis connection details.')