Skip to content
Browse files

Specify path to openspendingetld explicitly

  • Loading branch information...
1 parent b4fdb44 commit b6d6462a671c9af96834e416d32b79dbb58ee9e0 @nickstenning nickstenning committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 etl/command/daemon.py
View
3 etl/command/daemon.py
@@ -76,7 +76,8 @@ def dispatch_job(job_id, config, task, args=None):
if args is None:
args = ()
- cmd = ['openspendingetld', job_id, config, task]
+ bin = os.path.join(sys.prefix, 'bin', 'openspendingetld')
+ cmd = [bin, job_id, config, task]
cmd.extend(args)
try: # python >= 2.7

0 comments on commit b6d6462

Please sign in to comment.
Something went wrong with that request. Please try again.