From 155c50a561148b54424ea52367e4896e11c685e2 Mon Sep 17 00:00:00 2001 From: Markus-Rost Date: Tue, 16 Mar 2021 21:46:31 +0100 Subject: [PATCH] bump version bump version for IRC --- src/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.py b/src/config.py index cffd432..2a2ddc2 100644 --- a/src/config.py +++ b/src/config.py @@ -4,7 +4,7 @@ try: # load settings with open("settings.json", encoding="utf8") as sfile: settings = json.load(sfile) if "user-agent" in settings["header"]: - settings["header"]["user-agent"] = settings["header"]["user-agent"].format(version="1.0") # set the version in the useragent + settings["header"]["user-agent"] = settings["header"]["user-agent"].format(version="1.1") # set the version in the useragent except FileNotFoundError: logging.critical("No config file could be found. Please make sure settings.json is in the directory.") sys.exit(1) \ No newline at end of file