From 07678021164a6d79fd43d1584bcc3c2935f163d2 Mon Sep 17 00:00:00 2001 From: PhiBo Date: Fri, 13 Sep 2024 09:25:31 +0200 Subject: [PATCH] Fix import of excaptions in apicli --- apicli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apicli.py b/apicli.py index b54a25a..bcce31a 100755 --- a/apicli.py +++ b/apicli.py @@ -11,7 +11,8 @@ from select import select from os import linesep -from librouteros import connect, ConnectionError, TrapError, FatalError +from librouteros import connect +from librouteros.exceptions import TrapError, FatalError argParser = ArgumentParser(description='mikrotik api cli interface') argParser.add_argument(