mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2025-05-24 14:32:27 +00:00
Add main block for easier debugging
This commit is contained in:
parent
31f309c942
commit
de1d0fa7d5
@ -234,3 +234,7 @@ def main():
|
|||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
logger.info("Exporter has shutdown")
|
logger.info("Exporter has shutdown")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user