Skip to content

Commit

Permalink
#4104 get_default_port is an instance method in v5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jan 24, 2024
1 parent 0bc563c commit 8d01102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/gtk_common/start_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ def get_run_command(self, attach=False):
port = int(self.port_entry.get_text())
except ValueError:
port = 0
if port and port!=get_default_port(mode):
if port and port!=self.get_default_port(mode):
uri += ":%s" % port
uri += "/"
if display:
Expand Down

0 comments on commit 8d01102

Please sign in to comment.