mirror of https://gitlab.com/bashrc2/epicyon
Notes is the last csv field
parent
077ff265d7
commit
1a74211625
|
@ -64,9 +64,10 @@ def _update_import_following(base_dir: str,
|
||||||
if ',' in line:
|
if ',' in line:
|
||||||
fields = line.split(',')
|
fields = line.split(',')
|
||||||
line = fields[0].strip()
|
line = fields[0].strip()
|
||||||
if len(fields) >= 3:
|
if len(fields) >= 5:
|
||||||
notes = fields[2]
|
notes = fields[4]
|
||||||
if line.startswith('#'):
|
if line.startswith('#'):
|
||||||
|
# comment
|
||||||
continue
|
continue
|
||||||
following_nickname = get_nickname_from_actor(line)
|
following_nickname = get_nickname_from_actor(line)
|
||||||
if not following_nickname:
|
if not following_nickname:
|
||||||
|
|
Loading…
Reference in New Issue