Skip to content

Commit 3c619b4

Browse files
authored
webkit: No f-strings with Python 3.5 (Xenial)
1 parent 0a88816 commit 3c619b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/windows/views/webview_backend/webkit.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ def wheelEvent(self, event):
135135
delta = -(steps * 100)
136136
log.debug("Scrolling horizontally by %d pixels", delta)
137137
# Update the scroll position using AngularJS
138-
js = f"$('body').scope().scrollLeft({delta});"
138+
js = "$('body').scope().scrollLeft({});".format(delta)
139139
frame.evaluateJavaScript(js)
140140
else:
141141
super().wheelEvent(event)
142-

0 commit comments

Comments
 (0)