Delay debugfile-creation to suppress needless creation if not in debugmode

* bump version to 0.10.3
This commit is contained in:
Thor77 2016-08-08 22:10:30 +02:00
parent cfb593ba9c
commit 5ff08e0163
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='tsstats',
version='0.10.2',
version='0.10.3',
author='Thor77',
author_email='thor77@thor77.org',
description='A simple Teamspeak stats-generator',

View File

@ -5,7 +5,7 @@ import logging
logger = logging.getLogger('tsstats')
logger.setLevel(logging.INFO)
fh = logging.FileHandler('debug.txt', 'w')
fh = logging.FileHandler('debug.txt', 'w', delay=True)
fh.setLevel(logging.DEBUG)
ch = logging.StreamHandler()