messed up compare for slideshow

This commit is contained in:
Chris Baker 2017-06-24 20:49:57 -07:00
parent 5adff0fdad
commit f3ff4428f6

View file

@ -153,7 +153,7 @@ def change_wallpaper(db, arg):
def multiple_argument_handler(arg, arg2):
db = Database()
rand = arg.startswith("rnd")
if arg[4:].startswith("slideshow"):
if "slideshow" in arg:
try:
if arg.endswith("slideshow"):
slideshow(db, 1, 494, arg2, rand)