Merge branch 'capabilities' into text-encoding

This commit is contained in:
Michael Elsdörfer 2016-08-30 16:14:22 +02:00
commit 40be69347c
2 changed files with 3 additions and 3 deletions

View File

@ -92,11 +92,11 @@ def clean(s):
# For users, who want to provide their profile
class Profile(get_profile_class('default')):
def __init__(self, columns=None, features={}):
def __init__(self, columns=None, features=None):
super(Profile, self).__init__()
self.columns = columns
self.features = features
self.features = features or {}
def get_columns(self, font):
if self.columns is not None:

View File

@ -9,7 +9,7 @@ deps = nose
pytest
pytest-cov
hypothesis
commands = py.test --cov reports
commands = py.test --cov escpos
[testenv:docs]
basepython = python