Private GIT

Skip to content
Snippets Groups Projects
Commit 5c16ae2a authored by Guillaume Wuip's avatar Guillaume Wuip
Browse files

Print time and session

parent 1c36b0ce
No related merge requests found
......@@ -4,6 +4,7 @@ import os
import requests
import json
import ipaddress
from datetime import datetime
config_file = "config.txt"
......@@ -62,6 +63,7 @@ def main():
sys.exit("Please fill in the 'config.txt' file.")
for section in config.sections():
print('%s - section %s' % (str(datetime.now()), section))
#Retrieve API key
apikey = config.get(section, 'apikey')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment