From 6432d2bfc3b1f6d8838a0eabc675e36015d51f5d Mon Sep 17 00:00:00 2001 From: Deven Blake Date: Thu, 6 May 2021 12:44:06 -0400 Subject: [PATCH] works --- it/f.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/it/f.py b/it/f.py index b6f6b0c..c8c9b96 100644 --- a/it/f.py +++ b/it/f.py @@ -1,6 +1,8 @@ -def main(argc, argv, buffer): - if(argc > 2): +def main(buffer, argv): + if len(argv) > 2: print("?") + elif len(argv) == 1: + print(buffer.filename) else: buffer.filename = argv[1] return buffer