Skip to content

Commit 07f566b

Browse files
committed
Merge branch 'next_release' of https://github.com/netalertx/NetAlertX into next_release
2 parents 26b337d + 39e72b2 commit 07f566b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

front/plugins/kea_api/script.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../../server'))
77
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../plugins'))
88

9-
from plugin_helper import Plugin_Objects, mylog, handleEmpty, is_mac
10-
from helper import get_setting_value
11-
from const import logPath
9+
from plugin_helper import Plugin_Objects, mylog, is_mac # noqa: E402 [flake8 lint suppression]
10+
from helper import get_setting_value # noqa: E402 [flake8 lint suppression]
11+
from const import logPath # noqa: E402 [flake8 lint suppression]
1212

1313
pluginName = 'KEALSS'
1414
LOG_PATH = logPath + '/plugins'
@@ -65,11 +65,9 @@ def main():
6565
elif entry['result'] == 3:
6666
mylog('verbose', [f'[{pluginName}] Kea API indicates no entries found: {text}'])
6767

68-
6968
except Exception as e:
7069
mylog('none', [f'[{pluginName}] ⚠ ERROR: {str(e)}'])
7170

7271

73-
7472
if __name__ == '__main__':
7573
main()

0 commit comments

Comments
 (0)