# HG changeset patch # User HackBot # Date 1455073348 0 # Node ID 70f05e136a1f51d50617c173eafd52055fcddcc8 # Parent 2d82ea11bd967ba77f541dda1f06c9e129d0ab3c ` echo \'if not o.path.isfile(a):o.chdir("..");print u.check_output(["?",a]),;exit()\' >> bin/tomfoolery diff -r 2d82ea11bd96 -r 70f05e136a1f bin/tomfoolery --- a/bin/tomfoolery Wed Feb 10 03:01:43 2016 +0000 +++ b/bin/tomfoolery Wed Feb 10 03:02:28 2016 +0000 @@ -4,3 +4,4 @@ if not o.path.isdir(t):print"Somebody should take a peek inside me.";exit() if len(s.argv) != 2:print"I have nothing to say to you.";exit() a=s.argv[1];o.chdir(t) +if not o.path.isfile(a):o.chdir("..");print u.check_output(["?",a]),;exit()