From c9270f958ce4444013638ab14ebea622b0c65f4a Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 6 Dec 2018 18:07:42 +0100 Subject: [PATCH] Some changes because of fb_tools.common --- lib/webhooks/handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/webhooks/handler.py b/lib/webhooks/handler.py index d22b5d8..69da623 100644 --- a/lib/webhooks/handler.py +++ b/lib/webhooks/handler.py @@ -33,7 +33,7 @@ from .errors import CommandNotFoundError from .obj import BaseObjectError from .obj import BaseObject -__version__ = '1.2.0' +__version__ = '1.2.1' LOG = logging.getLogger(__name__) @@ -288,7 +288,7 @@ class BaseHandler(BaseObject): return os.path.normpath(cmd) # Checking a relative path - for d in caller_search_path(): + for d in map(str, caller_search_path()): if self.verbose > 3: LOG.debug("Searching command in {!r} ...".format(d)) p = os.path.join(d, cmd) -- 2.39.5