Delay debugfile-creation to suppress needless creation if not in debugmode
* bump version to 0.10.3
This commit is contained in:
parent
cfb593ba9c
commit
5ff08e0163
2
setup.py
2
setup.py
|
@ -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',
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue