Merge branch 'master' into patch-1

This commit is contained in:
Patrick Kanzler 2021-10-30 17:58:24 +02:00 committed by GitHub
commit a4e15c6ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -30,7 +30,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v2.3.4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.

View File

@ -19,7 +19,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
with:
submodules: 'recursive'
- uses: ammaraskar/sphinx-action@0.4

View File

@ -18,7 +18,7 @@ jobs:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
with:
submodules: 'recursive'
- name: Set up Python ${{ matrix.python-version }}

View File

@ -364,6 +364,7 @@ if _WIN32PRINT:
else:
self.printer_name = win32print.GetDefaultPrinter()
self.hPrinter = None
self.open()
def open(self, job_name="python-escpos"):
if self.printer_name is None: