Explorar o código

Making these add the current working directory to the front of sys.path.

Jason Baker %!s(int64=15) %!d(string=hai) anos
pai
achega
40cae26ff0
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 1 0
      bin/celeryd
  2. 2 1
      bin/celeryinit

+ 1 - 0
bin/celeryd

@@ -1,5 +1,6 @@
 #!/usr/bin/env python
 import sys
+sys.path.insert(0, '')
 from celery.bin.celeryd import run_worker, parse_options
 
 if __name__ == "__main__":

+ 2 - 1
bin/celeryinit

@@ -1,5 +1,6 @@
 #!/usr/bin/env python
-
+import sys
+sys.path.insert(0, '')
 from celery.bin.celeryinit import main
 
 if __name__ == "__main__":