mirror of
https://github.com/Findus23/RadioStats.git
synced 2024-09-19 16:03:48 +02:00
update dependecies, diable energy and remove logging
This commit is contained in:
parent
1719269e0f
commit
68f2661f4a
3 changed files with 6 additions and 7 deletions
2
fetch.py
2
fetch.py
|
@ -50,7 +50,7 @@ for channel in Channel.select():
|
|||
elif channel.shortname == "ara":
|
||||
pars = ara
|
||||
elif channel.shortname == "eng":
|
||||
pars = eng
|
||||
continue
|
||||
else:
|
||||
pars = orf
|
||||
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
beautifulsoup4==4.6.0
|
||||
certifi==2018.1.18
|
||||
certifi==2018.4.16
|
||||
chardet==3.0.4
|
||||
click==6.7
|
||||
Flask==0.12.2
|
||||
Flask==1.0.2
|
||||
idna==2.6
|
||||
itsdangerous==0.24
|
||||
Jinja2==2.10
|
||||
MarkupSafe==1.0
|
||||
peewee==3.2.5
|
||||
PyMySQL==0.8.0
|
||||
peewee==3.5.0
|
||||
PyMySQL==0.8.1
|
||||
pytz==2018.4
|
||||
requests==2.18.4
|
||||
spotipy==2.4.4
|
||||
urllib3==1.22
|
||||
urllib3==1.23
|
||||
Werkzeug==0.14.1
|
||||
|
|
|
@ -20,7 +20,6 @@ def query_to_response(query, limit=10, key=False, sort=False, offset=None, list=
|
|||
"""
|
||||
if limit:
|
||||
query = query.limit(limit)
|
||||
print(query.sql())
|
||||
data = {} if key is not False else []
|
||||
order = int(offset) if offset else 0
|
||||
for i in query:
|
||||
|
|
Loading…
Reference in a new issue