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):
93
93
f' width="{ w :d} " height="{ h :d} ">' )
94
94
wr (f'<p>This image has just been generated using the { lib } .</p>' )
95
95
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>' )
97
97
src = 'https://pypi.org/project/Pillow/'
98
98
wr (f'<p>This example requires the <a href="{ src } ">{ lib } </a>.</p>' )
99
99
Original file line number Diff line number Diff line change @@ -160,14 +160,14 @@ def setLibDirs(self):
160
160
with open (wsgiScript ) as f :
161
161
script = f .read ()
162
162
if 'libDirs = []' not in script :
163
- self .msg (f' \t Warning: Unexpected WSGI script' )
163
+ self .msg (" \t Warning: Unexpected WSGI script" )
164
164
else :
165
165
script = script .replace (
166
166
'libDirs = []' , f'libDirs = { self ._libraryDirs !r} ' )
167
167
with open (wsgiScript , 'w' ) as f :
168
168
f .write (script )
169
169
else :
170
- self .msg (f' \t Warning: Cannot find WSGI script.' )
170
+ self .msg (" \t Warning: Cannot find WSGI script." )
171
171
172
172
def makeDefaultContext (self ):
173
173
"""Make a very simple context for the newbie user to play with."""
You can’t perform that action at this time.
0 commit comments