add source-encoding (utf-8) to all files

This commit is contained in:
Thor77 2016-06-07 17:42:53 +02:00
parent c3cfad0a88
commit 52a05acdab
10 changed files with 20 additions and 2 deletions

View File

@ -56,7 +56,7 @@ author = 'Thor77'
# The short X.Y version. # The short X.Y version.
version = '0.5' version = '0.5'
# The full version, including alpha/beta/rc tags. # 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 # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup( setup(
name='tsstats', name='tsstats',
version='0.5.8', version='0.5.9',
author='Thor77', author='Thor77',
author_email='thor77@thor77.org', author_email='thor77@thor77.org',
description='A simple Teamspeak stats-generator', description='A simple Teamspeak stats-generator',

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
import logging import logging
logger = logging.getLogger('tsstats') logger = logging.getLogger('tsstats')

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
import argparse import argparse
import json import json
import logging import logging

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
import logging import logging
from tsstats.exceptions import InvalidLog from tsstats.exceptions import InvalidLog

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
try: try:
from configparser import ConfigParser from configparser import ConfigParser
except ImportError: except ImportError:

View File

@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
class InvalidConfiguration(Exception): class InvalidConfiguration(Exception):
''' '''
The configuration is invalid (either config-file or cli-args) The configuration is invalid (either config-file or cli-args)

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
import logging import logging
import re import re
from datetime import datetime from datetime import datetime

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
import logging import logging
from os.path import abspath from os.path import abspath
from time import localtime, strftime from time import localtime, strftime

View File

@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
def sort_clients(clients, key): def sort_clients(clients, key):
''' '''
sort `clients` by `key` sort `clients` by `key`