From a475caa7c7f59bebecaffb880f2b346b9e317f16 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Mon, 8 Aug 2016 22:25:57 +0200 Subject: [PATCH] Fix not calling str() on value before adding to config in __main__.cli * bump version to 0.10.4 --- setup.py | 2 +- tsstats/__main__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 5982b1e..4d85f58 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='tsstats', - version='0.10.3', + version='0.10.4', author='Thor77', author_email='thor77@thor77.org', description='A simple Teamspeak stats-generator', diff --git a/tsstats/__main__.py b/tsstats/__main__.py index a8b3a23..ed65e29 100644 --- a/tsstats/__main__.py +++ b/tsstats/__main__.py @@ -48,7 +48,7 @@ def cli(): else: configuration = config.load() for option, value in vars(options).items(): - configuration.set('General', option, value) + configuration.set('General', option, str(value)) main(configuration)