1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

normalize whitespace

This commit is contained in:
Patrick Kanzler
2017-01-30 01:57:36 +01:00
parent ce94a1fc18
commit 94a0f2b94b
2 changed files with 4 additions and 4 deletions

View File

@@ -62,8 +62,8 @@ class Encoder(object):
encoding = CodePages.get_encoding_name(encoding)
if not encoding in self.codepages:
raise ValueError((
'Encoding "{}" cannot be used for the current profile. '
'Valid encodings are: {}'
'Encoding "{}" cannot be used for the current profile. '
'Valid encodings are: {}'
).format(encoding, ','.join(self.codepages.keys())))
return encoding