Fixes in install
This commit is contained in:
parent
1a20fdd944
commit
43f69c6c2d
6 changed files with 76 additions and 26 deletions
17
app.py
17
app.py
|
|
@ -5,20 +5,3 @@ try:
|
|||
import ujson as json
|
||||
except:
|
||||
import json
|
||||
"""
|
||||
server=ServerDbTask()
|
||||
|
||||
@pastafari_app.route('/test')
|
||||
def test():
|
||||
|
||||
conn=WebModel.connection()
|
||||
|
||||
cursor=conn.query('select * from serverdbtask')
|
||||
|
||||
arr_row=[]
|
||||
|
||||
for row in cursor:
|
||||
arr_row.append(row)
|
||||
|
||||
return json.dumps(arr_row)
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue