mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-12 23:05:12 +00:00
Fix deprecated comparison structs
This commit is contained in:
@ -87,7 +87,7 @@ sitenav = {
|
||||
|
||||
|
||||
def get_nav_menu(section):
|
||||
if sitenav.has_key(section):
|
||||
if section in sitenav:
|
||||
return sitenav[section]
|
||||
else:
|
||||
return {}
|
||||
|
Reference in New Issue
Block a user