Skip to content

Commit

Permalink
use is not none
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Sep 25, 2024
1 parent 4ef5f9a commit 0611bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshchat.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ async def index(request):
if "short_name" in interface:
interface["interface_name"] = interface["short_name"]

if "parent_interface_name" in interface and interface["parent_interface_name"] != None:
if "parent_interface_name" in interface and interface["parent_interface_name"] is not None:
interface["parent_interface_hash"] = interface["parent_interface_hash"].hex()

if "ifac_signature" in interface and interface["ifac_signature"]:
Expand Down

0 comments on commit 0611bca

Please sign in to comment.