]> granicus.if.org Git - python/commitdiff
#12274: use proper escaping for % in IDLE config.
authorŁukasz Langa <lukasz@langa.pl>
Tue, 7 Jun 2011 13:19:44 +0000 (15:19 +0200)
committerŁukasz Langa <lukasz@langa.pl>
Tue, 7 Jun 2011 13:19:44 +0000 (15:19 +0200)
Lib/idlelib/config-main.def

index 5ddd098de1e07f26871839b8779fb89137397349..9546e2bf12870e3482708d00fad75bae92b8b937 100644 (file)
@@ -46,8 +46,8 @@
 [General]
 editor-on-startup= 0
 autosave= 0
-print-command-posix=lpr %s
-print-command-win=start /min notepad /p %s
+print-command-posix=lpr %%s
+print-command-win=start /min notepad /p %%s
 delete-exitfunc= 1
 
 [EditorWindow]