mirror of
https://codeberg.org/gothub/gothub-instances
synced 2024-12-06 19:16:17 +01:00
Remove slash from the end of URL
This commit is contained in:
committed by
NoPlagiarism
parent
73866f1619
commit
a9fca270ab
@@ -31,7 +31,7 @@ session.mount('http://', http_adapter) # Just to be sure
|
||||
def from_tuple_to_instance_json(data: tuple) -> dict: # data in the same order, as in regex
|
||||
res = {
|
||||
'country': data[3],
|
||||
'link': data[1],
|
||||
'link': data[1].rstrip("/"),
|
||||
'cloudflare': data[2] == 'Yes',
|
||||
'host': data[4],
|
||||
'branch': data[5]
|
||||
|
||||
Reference in New Issue
Block a user