mirror of
https://codeberg.org/gothub/gothub-instances
synced 2024-12-06 19:16:17 +01:00
Merge pull request 'Remove slash from the end of URL' (#8) from NoPlagiarism/gothub-instances:remove_slash into master
Reviewed-on: https://codeberg.org/gothub/gothub-instances/pulls/8
This commit is contained in:
@@ -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