Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from math import *

def calc(working_dir, *args): # arguments are completely unused
def calc(working_dir, args): # arguments are completely unused
expr = input()
while expr != 'q':
result = None
Expand Down
2 changes: 1 addition & 1 deletion cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Shows the contents of a given file (in pure text)
# Only works when file is in pwd (for now)

def cat(working_dir, *args):
def cat(working_dir, args):
if not args:
print("Missing argument.\nUsage: cat <filename(s)>")
return
Expand Down
Loading