mirror of https://github.com/peter4431/rq.git
Accept byte strings as the first argument of Worker() in Python 2
This make it easy to write Python 2/3 compatible code.
e.g.
Worker(sys.argv[1:])
# Without from __future__ import unicode_literals
Worker(['high', 'normal', 'low'])
main
parent
a14041ae1a
commit
e8165fdddf
Loading…
Reference in New Issue