rewind the file to the begining

This commit is contained in:
Rodney Ewing 2013-08-14 12:25:49 -07:00
parent 7a89d27c80
commit 8a528add8b

View File

@ -87,6 +87,9 @@ class CommonAsciiProcessor(MediaProcessor):
d_charset,
self.charset))
# Rewind the file
orig_file.seek(0)
def store_unicode_file(self):
with file(self.orig_filename, 'rb') as orig_file:
self._detect_charset(orig_file)