Commit 88d11f17 authored by Gregorio's avatar Gregorio
Browse files

Another bug fixed

parent f4083738
......@@ -21,7 +21,7 @@ def operating(calc, operation, numbers):
if __name__ == "__main__":
capture_argv_error()
filename = sys.argv[0]
filename = sys.argv[1]
calc = calcoohija.CalculadoraHija()
file = open(filename)
for line in file.readlines():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment