Skip to content

Commit ab51d4c

Browse files
authored
realized that we were missing an output write for the read() function
1 parent 434e13f commit ab51d4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Algorithmia/datafile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ def writable(self):
266266
def read(self, __size=None):
267267
if not self.local_file:
268268
self.local_file = self.getFile()
269+
output = self.local_file.read()
269270
if __size:
270271
output = self.local_file.read(__size)
271272
else:

0 commit comments

Comments
 (0)