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

Remove unneeded stream.seek, users should reset stream before constructing factory

parent d96bd75b
No related branches found
No related tags found
No related merge requests found
...@@ -30,8 +30,6 @@ class StreamIAGA2002Factory(IAGA2002Factory): ...@@ -30,8 +30,6 @@ class StreamIAGA2002Factory(IAGA2002Factory):
Notes: Calls IAGA2002Factory.parse_string in place of Notes: Calls IAGA2002Factory.parse_string in place of
IAGA2002Factory.get_timeseries. IAGA2002Factory.get_timeseries.
""" """
self._stream.seek(0)
return IAGA2002Factory.parse_string(self, self._stream.read()) return IAGA2002Factory.parse_string(self, self._stream.read())
def put_timeseries(self, timeseries, starttime=None, endtime=None, def put_timeseries(self, timeseries, starttime=None, endtime=None,
......
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