Simplify with in

This commit is contained in:
cclauss 2017-06-24 07:08:57 +02:00 committed by GitHub
parent d0d46cec4e
commit 15da2260d8

View file

@ -196,7 +196,7 @@ def single_argument_handler(arg):
print_columns(db.get_sinnoh())
elif arg == "all":
print_columns(db.get_all())
elif arg == "clear" or arg == "disable" or arg == "off":
elif arg in ("clear", "disable", "off"):
scripter.clear_terminal()
elif arg == "random" and escape_code:
change_wallpaper(db, db.get_random().get_name())