Skip to content
Snippets Groups Projects
Commit e13c463b authored by Jeremy M Fee's avatar Jeremy M Fee
Browse files

GOESIMFV283Factory python3 compatibility

parent 8d94d556
No related branches found
No related tags found
No related merge requests found
"""Factory to load IMFV283 files from an input StreamIMFV283Factory."""
from __future__ import absolute_import, print_function
from __future__ import absolute_import, print_function, unicode_literals
from .IMFV283Factory import IMFV283Factory
import subprocess
......@@ -186,5 +186,5 @@ class GOESIMFV283Factory(IMFV283Factory):
if not os.path.exists(criteria_dir):
os.makedirs(criteria_dir)
with open(criteria_file, 'wb') as fh:
fh.write(''.join(buf))
fh.write(''.join(buf).encode())
fh.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment