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:
Thor77 2016-08-09 20:37:20 +02:00
parent a475caa7c7
commit 3f140b8d6a
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.4',
version='0.10.5',
author='Thor77',
author_email='thor77@thor77.org',
description='A simple Teamspeak stats-generator',

View File

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