t4t5u0 / swat

Sword World Assistant Tool
MIT License
3 stars 1 forks source link

rm 存在しない技能を消去しようとしたときの挙動 #53

Closed t4t5u0 closed 4 years ago

t4t5u0 commented 4 years ago
Traceback (most recent call last):
  File "prompt.py", line 613, in <module>
    Command().cmdloop()
  File "cmd.py", line 138, in cmdloop
  File "cmd.py", line 217, in onecmd
  File "prompt.py", line 532, in do_rm
    skill_names = list(set(c.fetchall()[0]))
IndexError: list index out of range
[19536] Failed to execute script prompt

c.fetchall()[0] で怒られてるっぽいから直前に長さチェックする

t4t5u0 commented 4 years ago

4be7fc9b81968723c0fa2a4b1dc31dfcc5ad7af3