From adfe77be24fff8c069ffe655ea7c299ff58fe31d Mon Sep 17 00:00:00 2001 From: Daniel Hladek Date: Wed, 20 Jan 2021 12:34:38 +0100 Subject: [PATCH] zz --- websucker/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websucker/cli.py b/websucker/cli.py index a141c2b..ff540ff 100644 --- a/websucker/cli.py +++ b/websucker/cli.py @@ -15,7 +15,7 @@ def create_database_from_context(ctx): return Data(ctx.obj["cassandra_keyspace"],ctx.obj["cassandra_host"],ctx.obj["cassandra_port"]) def create_queue_from_context(ctx): - return greenstalk.Client(ctx.obj["beanstalkd_host"],ctx.obj["beanstalkd_port"],use=ctx.obj["beanstalkd_tube"],watch=ctx.obj["beanstalkd_tube"],encoding="utf8") + return greenstalk.Client((ctx.obj["beanstalkd_host"],ctx.obj["beanstalkd_port"]),use=ctx.obj["beanstalkd_tube"],watch=ctx.obj["beanstalkd_tube"],encoding="utf8") @click.group()