Skip to content

Commit

Permalink
Deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lekeno committed Nov 4, 2024
1 parent 84c7299 commit 0bd0732
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions edr/edrclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,11 +515,11 @@ def prefs_ui(self, parent):
cred_label.grid(padx=10, columnspan=2, sticky=tk.W)

notebook.Label(frame, text=_(u"Email")).grid(padx=10, row=11, sticky=tk.W)
notebook.Entry(frame, textvariable=self._email).grid(padx=10, row=11,
notebook.EntryMenu(frame, textvariable=self._email).grid(padx=10, row=11,
column=1, sticky=tk.EW)

notebook.Label(frame, text=_(u"Password")).grid(padx=10, row=12, sticky=tk.W)
notebook.Entry(frame, textvariable=self._password,
notebook.EntryMenu(frame, textvariable=self._password,
show=u'*').grid(padx=10, row=12, column=1, sticky=tk.EW)

notebook.Label(frame, text=_(u'Broadcasts')).grid(padx=10, row=14, sticky=tk.W)
Expand Down
2 changes: 1 addition & 1 deletion edr/edrfssinsights.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def no_signals(self):
return len(self.signals_seen) == 0

def is_scenario_signal(self, name):
return bool(re.search('^\$[ -~]+;$', name))
return bool(re.search(r'^\$[ -~]+;$', name))

def is_nav_beacon(self, name):
return name in ["$MULTIPLAYER_SCENARIO42_TITLE;", "$MULTIPLAYER_SCENARIO80_TITLE;"]
Expand Down

0 comments on commit 0bd0732

Please sign in to comment.