3096 / genshin_scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid syntax problem

danilucipher opened this issue · comments

Use python version >= 3.8
You have version 3.6.2, which doesn't support the walrus operator. If you want to quickly fix it, just replace that line with these two instead.
key = note_key_map.get_key(msg.note)
if key: