q1x / zabbix-gnomes

Various scripts to automate tasks in Zabbix
Other
179 stars 94 forks source link

Bug in master , #21

Open hashimx opened 2 years ago

hashimx commented 2 years ago

Inconsistent tabs and configparser module import is incorrect in script zhostfinder.py with Python version 3.10. Please correct it

Traceback (most recent call last): File "C:\Users\hashim1\OneDrive - Intel Corporation\Desktop\workspace\zabbix\zabbix-gnomes\zhostfinder.py", line 7, in import ConfigParser ModuleNotFoundError: No module named 'ConfigParser'

herdir commented 2 years ago

In Python 3, ConfigParser has been renamed to configparser That might be your issue.