Skip to content

Commit

Permalink
Fix test_root_window_model by formatting geometry string correctly
Browse files Browse the repository at this point in the history
You can't use `{geometry:24}` style formatting on a list or tuple. It
must be converted to a string first.
  • Loading branch information
chewi authored and totaam committed Oct 3, 2022
1 parent 8b6f245 commit edd5fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/server/shadow/root_window_model.py
Expand Up @@ -65,7 +65,7 @@ def __init__(self, root_window, capture=None, title="", geometry=None):
self.signal_listeners = {}

def __repr__(self):
return f"RootWindowModel({self.capture} : {self.geometry:24})"
return f"RootWindowModel({self.capture} : {str(self.geometry):24})"

def get_info(self) -> dict:
info = {}
Expand Down

0 comments on commit edd5fba

Please sign in to comment.