Permalink
Browse files

Update Model.py

  • Loading branch information...
1 parent 49d4c4c commit 9e8fba036d054c8ed7a86e96377a6241b4cec9d7 @ChrisRackauckas committed Aug 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils/Model.py
View
@@ -50,7 +50,7 @@ def prependUserMovieToPredictions(self,idsPath,fixPath,savePath):
### has a column of ratings or not
import csv
data = csv.reader(open(idsPath,'rU'), delimiter="\t", quotechar='|')
- fixData = open(fixPath, 'w')
+ fixData = open(fixPath, 'rU')
fixLines = fixData.readlines()
i = 0
output = []

0 comments on commit 9e8fba0

Please sign in to comment.