Update version

This commit is contained in:
Frisk 2022-07-14 23:49:21 +00:00
parent 6864a3770e
commit fab1abb5da
2 changed files with 2 additions and 2 deletions

View file

@ -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',

View file

@ -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)