mirror of https://gitlab.com/bashrc2/epicyon
Default page number for moved accounts
parent
9170a0df4f
commit
2db37e93a7
|
@ -14382,6 +14382,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if '?page=' not in path:
|
||||
search_path = path
|
||||
# get a page of following, not the summary
|
||||
path = path.replace('/moved', '/moved?page=' +
|
||||
str(page_number))
|
||||
following = \
|
||||
get_moved_feed(base_dir, domain, port, path,
|
||||
http_prefix, authorized,
|
||||
|
|
|
@ -46,9 +46,6 @@ def get_moved_accounts(base_dir: str, nickname: str, domain: str,
|
|||
refollow_dict[prev_handle] = new_handle
|
||||
ctr = ctr + 1
|
||||
|
||||
print(str(ctr) + ' moved accounts')
|
||||
print('moved_dict: ' + str(refollow_dict))
|
||||
|
||||
follow_filename = \
|
||||
acct_dir(base_dir, nickname, domain) + '/' + filename
|
||||
follow_str = ''
|
||||
|
@ -65,7 +62,6 @@ def get_moved_accounts(base_dir: str, nickname: str, domain: str,
|
|||
for handle in follow_list:
|
||||
if refollow_dict.get(handle):
|
||||
result[handle] = refollow_dict[handle]
|
||||
print('moved_dict 2: ' + str(result))
|
||||
return result
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue