mirror of
https://github.com/python-escpos/python-escpos
synced 2025-08-24 09:03:34 +00:00
use pkg_resources
This change uses if no path for e capabilities-file is supplied a temporary file created by pkg_resources, which should be more robust than directly accessing the file. (This failed sometimes, for example in zipped distributions or uncommon structures)
This commit is contained in: