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.
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.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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