Don't add sid-suffix to output if only one vserver occured in parsed logs
* bump version to 0.10.5
This commit is contained in:
parent
a475caa7c7
commit
3f140b8d6a
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||
|
||||
setup(
|
||||
name='tsstats',
|
||||
version='0.10.4',
|
||||
version='0.10.5',
|
||||
author='Thor77',
|
||||
author_email='thor77@thor77.org',
|
||||
description='A simple Teamspeak stats-generator',
|
||||
|
|
|
@ -75,7 +75,7 @@ def main(configuration):
|
|||
online_dc=configuration.getboolean('General', 'onlinedc')
|
||||
)
|
||||
for sid, clients in sid_clients.items():
|
||||
if sid:
|
||||
if sid and len(sid_clients) > 1:
|
||||
ext = '.{}'.format(sid)
|
||||
else:
|
||||
ext = ''
|
||||
|
|
Loading…
Reference in New Issue