Merge branch 'fix/escpos-error-issue-257' of github.com:python-escpos/python-escpos into fix/escpos-error-issue-257
This commit is contained in:
commit
db78fc1a78
@ -38,7 +38,7 @@ if full_load:
|
|||||||
logger.debug('Loading and pickling capabilities')
|
logger.debug('Loading and pickling capabilities')
|
||||||
with open(capabilities_path) as cp, open(pickle_path, 'wb') as pp:
|
with open(capabilities_path) as cp, open(pickle_path, 'wb') as pp:
|
||||||
CAPABILITIES = yaml.load(cp)
|
CAPABILITIES = yaml.load(cp)
|
||||||
pickle.dump(CAPABILITIES, pp)
|
pickle.dump(CAPABILITIES, pp, protocol=2)
|
||||||
|
|
||||||
logger.debug('Finished loading capabilities took %.2fs', time.time() - t0)
|
logger.debug('Finished loading capabilities took %.2fs', time.time() - t0)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user