mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
b69e88aa5c
commit
cfd017158b
|
@ -82,7 +82,8 @@ def create_initial_last_seen(base_dir: str, http_prefix: str) -> None:
|
|||
actor = local_actor_url(http_prefix, nickname, domain)
|
||||
last_seen_filename = \
|
||||
last_seen_dir + '/' + actor.replace('/', '#') + '.txt'
|
||||
if not os.path.isfile(last_seen_filename):
|
||||
if os.path.isfile(last_seen_filename):
|
||||
continue
|
||||
try:
|
||||
with open(last_seen_filename, 'w+',
|
||||
encoding='utf-8') as fp_last:
|
||||
|
|
Loading…
Reference in New Issue