Fix base bug

This commit is contained in:
wqy
2022-09-17 22:18:17 +08:00
parent edd731904e
commit 5dd83d7652

View File

@@ -43,7 +43,7 @@ def is_tank(name: str, id: str) -> bool:
def is_link(name: str, id: str) -> bool:
return _get_from(name, id, _LINK) != {}
return _get_from(name, id, _LINK) != None
def is_pipe(name: str, id: str) -> bool: