From fab1abb5da393b37b5f2af09e4105c6d0d9c2bbd Mon Sep 17 00:00:00 2001 From: Frisk <702385-piotrex43@users.noreply.gitlab.com> Date: Thu, 14 Jul 2022 23:49:21 +0000 Subject: [PATCH] Update version --- setup.py | 2 +- src/configloader.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 76377ce..a40b9ec 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='RcGcDw', - version='1.14.0.1', + version='1.15.0.1', url='https://gitlab.com/piotrex43/RcGcDw/', license='GNU GPLv3', author='Frisk', diff --git a/src/configloader.py b/src/configloader.py index 545db53..c22eea2 100644 --- a/src/configloader.py +++ b/src/configloader.py @@ -28,7 +28,7 @@ def load_settings(): if settings["limitrefetch"] < settings["limit"] and settings["limitrefetch"] != -1: settings["limitrefetch"] = settings["limit"] if "user-agent" in settings["header"]: - settings["header"]["user-agent"] = settings["header"]["user-agent"].format(version="1.14.1") # set the version in the useragent + settings["header"]["user-agent"] = settings["header"]["user-agent"].format(version="1.15.0.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)