mirror of https://github.com/rq/rq.git
Allow includes from the local directory by default.
Will build in a flag in the future to be able to disallow this.
This commit is contained in:
parent
7be878aed7
commit
2ac6c1faa3
|
@ -11,6 +11,9 @@ def parse_args():
|
|||
return (opts, args, parser)
|
||||
|
||||
def main():
|
||||
import sys
|
||||
sys.path.insert(0, '.')
|
||||
|
||||
opts, args, parser = parse_args()
|
||||
|
||||
use_redis()
|
||||
|
|
|
@ -137,6 +137,9 @@ def parse_args():
|
|||
|
||||
|
||||
def main():
|
||||
import sys
|
||||
sys.path.insert(0, '.')
|
||||
|
||||
args = parse_args()
|
||||
|
||||
# Setup connection to Redis
|
||||
|
|
|
@ -53,6 +53,9 @@ def parse_args():
|
|||
|
||||
|
||||
def main():
|
||||
import sys
|
||||
sys.path.insert(0, '.')
|
||||
|
||||
args = parse_args()
|
||||
|
||||
setup_loghandlers(args)
|
||||
|
|
Loading…
Reference in New Issue