Skip to content

Commit 36bbf6e

Browse files
committed
windows printing: correct empty inline function def
1 parent d1857a0 commit 36bbf6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

printer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PC-BASIC 3.23 - printer.py
33
Line printer output
44
5-
(c) 2013, 2014 Rob Hagemans
5+
(c) 2013, 2014, 2015 Rob Hagemans
66
This file is released under the GNU GPL version 3.
77
"""
88

@@ -35,8 +35,8 @@ def flush(self):
3535
utf8buf = unicodepage.UTF8Converter(preserve_control=True).to_utf8(printbuf)
3636
line_print(utf8buf, self.printer_name)
3737

38-
# only needed on Windows
39-
wait = lambda x: None
38+
# empty function, only needed & defined on Windows
39+
wait = lambda: None
4040

4141
if plat.system == 'Windows':
4242
import os

0 commit comments

Comments
 (0)