File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1102,7 +1102,7 @@ def app(
11021102 # A -SAVE- target directory has been selected; use it, if possible. This is where any
11031103 # output will be written. It should usually be a removable volume, but we do not check.
11041104 # An empty path implies the current directory.
1105- filepath = None
1105+ filepath , printer = None , None
11061106 if event == '-SAVE-' :
11071107 filepath = values ['-SAVE-' ]
11081108 log .info ( f"Saving to { filepath !r} ..." )
Original file line number Diff line number Diff line change @@ -934,7 +934,7 @@ def printers_available():
934934 command = [ '/usr/bin/lpstat' , '-lt' ]
935935 command_input = None
936936 else :
937- return
937+ raise NotImplementedError ( f"Printing not supported on platform { sys . platform } " )
938938
939939 subproc = subprocess .run (
940940 command ,
You can’t perform that action at this time.
0 commit comments