mirror of https://gitlab.com/bashrc2/epicyon
Only split once
parent
63a313eb96
commit
8198daa3e5
|
@ -1602,7 +1602,7 @@ def export_blocks(base_dir: str, nickname: str, domain: str) -> str:
|
||||||
reason_str = ''
|
reason_str = ''
|
||||||
for reason_line in blocking_reasons:
|
for reason_line in blocking_reasons:
|
||||||
if reason_line.startswith(blocked_domain + ' '):
|
if reason_line.startswith(blocked_domain + ' '):
|
||||||
reason_str = reason_line.split(' ')[1]
|
reason_str = reason_line.split(' ', 1)[1]
|
||||||
break
|
break
|
||||||
blocks_str += \
|
blocks_str += \
|
||||||
blocked_domain + ',suspend,false,false,"' + \
|
blocked_domain + ',suspend,false,false,"' + \
|
||||||
|
|
Loading…
Reference in New Issue