Skip to content

Commit 8380083

Browse files
committed
Removed superfluous f-string markers
1 parent e911361 commit 8380083

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

webware/Examples/ImageDemo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

webware/Scripts/MakeAppWorkDir.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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'\tWarning: Unexpected WSGI script')
163+
self.msg("\tWarning: 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'\tWarning: Cannot find WSGI script.')
170+
self.msg("\tWarning: Cannot find WSGI script.")
171171

172172
def makeDefaultContext(self):
173173
"""Make a very simple context for the newbie user to play with."""

0 commit comments

Comments
 (0)