mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixed strange issue with urllib trying to connect on IPv4
This commit is contained in:
@@ -4,7 +4,7 @@ from htmlgenerators import artistLink
|
||||
|
||||
def replacedict(keys,dbport):
|
||||
|
||||
response = urllib.request.urlopen("http://localhost:" + str(dbport) + "/issues")
|
||||
response = urllib.request.urlopen("http://[::1]:" + str(dbport) + "/issues")
|
||||
db_data = json.loads(response.read())
|
||||
i = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user