daemon/gui: coverted remaining usages of old string formatting to f strings

This commit is contained in:
Blake Harnden 2023-04-13 16:43:09 -07:00
parent 4dba1bbe32
commit 899800b925
3 changed files with 10 additions and 10 deletions

View file

@ -42,7 +42,7 @@ class Tooltip:
y += self.widget.winfo_rooty() + 32
self.tw = tk.Toplevel(self.widget)
self.tw.wm_overrideredirect(True)
self.tw.wm_geometry("+%d+%d" % (x, y))
self.tw.wm_geometry(f"+{x:d}+{y:d}")
self.tw.rowconfigure(0, weight=1)
self.tw.columnconfigure(0, weight=1)
frame = ttk.Frame(self.tw, style=Styles.tooltip_frame, padding=3)