diff --git a/makeclass.py b/makeclass.py index 84a1b55..356d0e3 100644 --- a/makeclass.py +++ b/makeclass.py @@ -41,11 +41,11 @@ def computeModeratedMarks(file1, file2): fIn.close() fOut.close() - fOut = open(file2, 'rb') + fIn = open(file2, 'rb') while True: try: - print(pickle.load(fOut)) + print(pickle.load(fIn)) except EOFError: break