File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1414import argparse # pylint: disable=C0413
1515import json # pylint: disable=C0413
1616import sys # pylint: disable=C0413
17- import flatdict # pylint: disable=C0413
1817
1918import lib .args # pylint: disable=C0413
2019import lib .base # pylint: disable=C0413
@@ -25,8 +24,15 @@ import lib.url # pylint: disable=C0413
2524from lib .globals import (STATE_CRIT , STATE_OK , # pylint: disable=C0413
2625 STATE_UNKNOWN , STATE_WARN )
2726
27+ try :
28+ import flatdict # pylint: disable=C0413
29+ except ImportError as e :
30+ print ('Python module "flatdict" is not installed.' )
31+ sys .exit (STATE_UNKNOWN )
32+
33+
2834__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
29- __version__ = '2025021501 '
35+ __version__ = '2025030601 '
3036
3137DESCRIPTION = """Statuspal is a status page provider from Germany. This check plugin gets
3238 the summary of a Statuspal status page, checks its status, services,
You can’t perform that action at this time.
0 commit comments