mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
No more internal communication via HTTP
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import urllib
|
||||
import json
|
||||
import database
|
||||
from htmlgenerators import artistLink
|
||||
|
||||
def instructions(keys,dbport):
|
||||
def instructions(keys):
|
||||
|
||||
response = urllib.request.urlopen("http://[::1]:" + str(dbport) + "/issues")
|
||||
db_data = json.loads(response.read())
|
||||
db_data = database.issues()
|
||||
i = 0
|
||||
|
||||
html = "<table class='list'>"
|
||||
|
||||
Reference in New Issue
Block a user