Permalink
Browse files

Update Model.py

  • Loading branch information...
1 parent 9fcded1 commit 49d4c4c974733a46478eb061a7682919e2f9bab6 @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, 'r')
+ fixData = open(fixPath, 'w')
fixLines = fixData.readlines()
i = 0
output = []

0 comments on commit 49d4c4c

Please sign in to comment.