diff --git a/docs/source/conf.py b/docs/source/conf.py index a472232..0f57165 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.8' +release = '0.5.9' # 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 7ab5e94..6e55f5f 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='tsstats', - version='0.5.8', + version='0.5.9', author='Thor77', author_email='thor77@thor77.org', description='A simple Teamspeak stats-generator', diff --git a/tsstats/__init__.py b/tsstats/__init__.py index 2d8b3e2..3b027f8 100644 --- a/tsstats/__init__.py +++ b/tsstats/__init__.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + import logging logger = logging.getLogger('tsstats') diff --git a/tsstats/__main__.py b/tsstats/__main__.py index 48a670b..984dfd3 100644 --- a/tsstats/__main__.py +++ b/tsstats/__main__.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + import argparse import json import logging diff --git a/tsstats/client.py b/tsstats/client.py index 166cb96..600311c 100644 --- a/tsstats/client.py +++ b/tsstats/client.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + import logging from tsstats.exceptions import InvalidLog diff --git a/tsstats/config.py b/tsstats/config.py index da44c40..1ad4c36 100644 --- a/tsstats/config.py +++ b/tsstats/config.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + try: from configparser import ConfigParser except ImportError: diff --git a/tsstats/exceptions.py b/tsstats/exceptions.py index 07b4d16..eb3ba70 100644 --- a/tsstats/exceptions.py +++ b/tsstats/exceptions.py @@ -1,3 +1,6 @@ +# -*- coding: utf-8 -*- + + class InvalidConfiguration(Exception): ''' The configuration is invalid (either config-file or cli-args) diff --git a/tsstats/log.py b/tsstats/log.py index cf02a91..533108e 100644 --- a/tsstats/log.py +++ b/tsstats/log.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + import logging import re from datetime import datetime diff --git a/tsstats/template.py b/tsstats/template.py index ce5681e..6df7217 100644 --- a/tsstats/template.py +++ b/tsstats/template.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + import logging from os.path import abspath from time import localtime, strftime diff --git a/tsstats/utils.py b/tsstats/utils.py index b1b624e..98540d6 100644 --- a/tsstats/utils.py +++ b/tsstats/utils.py @@ -1,3 +1,6 @@ +# -*- coding: utf-8 -*- + + def sort_clients(clients, key): ''' sort `clients` by `key`