gehe funktioniert wieder.

hilfe Kommando.
This commit is contained in:
Olli Graf
2022-05-14 10:16:06 +02:00
parent 5b0b25cec1
commit 0a0ffcbc5f
5 changed files with 27 additions and 8 deletions

View File

@@ -151,6 +151,7 @@ class World:
def ermittleBefehlId(self,befehl):
for id in self.befehle:
name = self.befehle[id].name
logging.debug(f'ermittleBefehlId(): {befehl} - {name}')
if name == befehl:
return id
return None