diff --git a/bots/check-rabbitmq-consumers b/bots/check-rabbitmq-consumers index e34e47b..071d2d5 100755 --- a/bots/check-rabbitmq-consumers +++ b/bots/check-rabbitmq-consumers @@ -7,7 +7,7 @@ from collections import defaultdict from os import path, environ -sys.path.append(path.join(path.dirname(__file__), '../tools')) +sys.path.append(path.join(path.dirname(__file__), '..')) from zulip_tools import check_output states = { diff --git a/bots/check-rabbitmq-queue b/bots/check-rabbitmq-queue index eb0391d..ef57dcb 100755 --- a/bots/check-rabbitmq-queue +++ b/bots/check-rabbitmq-queue @@ -6,7 +6,7 @@ import time from os import path, environ -sys.path.append(path.join(path.dirname(__file__), '../tools')) +sys.path.append(path.join(path.dirname(__file__), '..')) from zulip_tools import check_output WARN_THRESHOLD = 50