mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2026-11-25 15:39:46 +00:00
Add main block for easier debugging
This commit is contained in:
1 parent
31f309c942
commit
de1d0fa7d5
1 file changed
+4
@@ -234,3 +234,7 @@ def main():
|
||||
time.sleep(1)
|
||||
|
||||
logger.info("Exporter has shutdown")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in new issue
Block a user