mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
reformat PEP8 and similar issues
This commit is contained in:
@@ -12,11 +12,12 @@ class CodePageManager:
|
||||
def get_all(self):
|
||||
return self.data.values()
|
||||
|
||||
def get_encoding_name(self, encoding):
|
||||
@staticmethod
|
||||
def get_encoding_name(encoding):
|
||||
# TODO resolve the encoding alias
|
||||
return encoding.upper()
|
||||
|
||||
def get_encoding(self, encoding):
|
||||
return self.data[encoding]
|
||||
|
||||
CodePages = CodePageManager(CAPABILITIES['encodings'])
|
||||
CodePages = CodePageManager(CAPABILITIES['encodings'])
|
||||
|
Reference in New Issue
Block a user