diff --git a/classmodify.py b/classmodify.py index d3e20ab..16d3db0 100644 --- a/classmodify.py +++ b/classmodify.py @@ -47,11 +47,11 @@ def computeModeratedMarks(file1, file2, addPercent): fOut.close() - fOut = open(file2, 'rb') + fIn = open(file2, 'rb') while True: try: - print(pickle.load(fOut)) + print(pickle.load(fIn)) except EOFError: break