diff --git a/docs/source/conf.py b/docs/source/conf.py index 13658c0..a472232 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -56,7 +56,7 @@ author = 'Thor77' # The short X.Y version. version = '0.5' # The full version, including alpha/beta/rc tags. -release = '0.5.7' +release = '0.5.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index de2a59c..7ab5e94 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='tsstats', - version='0.5.7', + version='0.5.8', author='Thor77', author_email='thor77@thor77.org', description='A simple Teamspeak stats-generator', diff --git a/tsstats/log.py b/tsstats/log.py index 0405f27..cf02a91 100644 --- a/tsstats/log.py +++ b/tsstats/log.py @@ -6,8 +6,8 @@ from glob import glob from tsstats.client import Client, Clients re_log_entry = re.compile('(?P\d{4}-\d\d-\d\d\ \d\d:\d\d:\d\d.\d+)' - '\|(?P\w+)\ +\|(?P\w+)' - '\|\ +(?P\d+)\|\ (?P.*)') + '\|\ *(?P\w+)\ *\|\ *(?P\w+)\ *' + '\|\ *(?P\d+)\ *\|\ *(?P.*)') re_dis_connect = re.compile(r"'(.*)'\(id:(\d*)\)") re_disconnect_invoker = re.compile( r'invokername=(.*)\ invokeruid=(.*)\ reasonmsg'