File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def writeContent(self):
9393 f' width="{ w :d} " height="{ h :d} ">' )
9494 wr (f'<p>This image has just been generated using the { lib } .</p>' )
9595 else :
96- wr (f '<h4 style="color:red">Sorry: No imaging tool available.</h4>' )
96+ wr ('<h4 style="color:red">Sorry: No imaging tool available.</h4>' )
9797 src = 'https://pypi.org/project/Pillow/'
9898 wr (f'<p>This example requires the <a href="{ src } ">{ lib } </a>.</p>' )
9999
Original file line number Diff line number Diff line change @@ -160,14 +160,14 @@ def setLibDirs(self):
160160 with open (wsgiScript ) as f :
161161 script = f .read ()
162162 if 'libDirs = []' not in script :
163- self .msg (f' \t Warning: Unexpected WSGI script' )
163+ self .msg (" \t Warning: Unexpected WSGI script" )
164164 else :
165165 script = script .replace (
166166 'libDirs = []' , f'libDirs = { self ._libraryDirs !r} ' )
167167 with open (wsgiScript , 'w' ) as f :
168168 f .write (script )
169169 else :
170- self .msg (f' \t Warning: Cannot find WSGI script.' )
170+ self .msg (" \t Warning: Cannot find WSGI script." )
171171
172172 def makeDefaultContext (self ):
173173 """Make a very simple context for the newbie user to play with."""
You can’t perform that action at this time.
0 commit comments