daemon/gui: coverted remaining usages of old string formatting to f strings
This commit is contained in:
parent
4dba1bbe32
commit
899800b925
3 changed files with 10 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue