Commit 4ef73e50 authored by Administrator's avatar Administrator

[BUGFIX] self._file > file

parent b811a2bb
......@@ -12,7 +12,7 @@ class RisFileParser(FileParser):
metadata = {}
last_key = None
last_values = []
for line in self._file:
for line in file:
if len(line) > 2:
parameter_key = line[:2]
if parameter_key != b' ' and parameter_key != last_key:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment