mirror of https://gitlab.com/bashrc2/epicyon
More export fields
parent
03db0fa894
commit
077ff265d7
|
@ -125,10 +125,9 @@ def csv_following_list(following_filename: str,
|
||||||
allowed_announce(base_dir, nickname, domain,
|
allowed_announce(base_dir, nickname, domain,
|
||||||
following_nickname,
|
following_nickname,
|
||||||
following_domain)
|
following_domain)
|
||||||
|
notify_on_new = 'false'
|
||||||
following_list_csv += \
|
languages = ''
|
||||||
following_address + ',' + \
|
person_notes = ''
|
||||||
str(announce_is_allowed).lower() + ','
|
|
||||||
person_notes_filename = \
|
person_notes_filename = \
|
||||||
acct_dir(base_dir, nickname, domain) + \
|
acct_dir(base_dir, nickname, domain) + \
|
||||||
'/notes/' + following_address + '.txt'
|
'/notes/' + following_address + '.txt'
|
||||||
|
@ -140,8 +139,15 @@ def csv_following_list(following_filename: str,
|
||||||
person_notes = person_notes.replace('"', "'")
|
person_notes = person_notes.replace('"', "'")
|
||||||
person_notes = person_notes.replace('\n', '<br>')
|
person_notes = person_notes.replace('\n', '<br>')
|
||||||
person_notes = person_notes.replace(' ', ' ')
|
person_notes = person_notes.replace(' ', ' ')
|
||||||
following_list_csv += person_notes
|
following_list_csv += \
|
||||||
msg = 'Account address,Show boosts,Notes\n' + following_list_csv
|
'Account address,Show boosts,' + \
|
||||||
|
'Notify on new posts,Languages,Notes\n' + \
|
||||||
|
following_address + ',' + \
|
||||||
|
str(announce_is_allowed).lower() + ',' + \
|
||||||
|
notify_on_new + ',' + \
|
||||||
|
languages + ',' + \
|
||||||
|
person_notes + '\n'
|
||||||
|
msg = following_list_csv
|
||||||
return msg
|
return msg
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue