1
0
Fork 0
mirror of https://github.com/Findus23/nonsense.git synced 2024-09-19 16:03:50 +02:00

update dependencies

This commit is contained in:
Lukas Winkler 2019-04-07 11:13:06 +02:00
parent 99dae39858
commit 0a9c721287
Signed by: lukas
GPG key ID: 54DE4D798D244853
3 changed files with 25 additions and 24 deletions

View file

@ -3,7 +3,7 @@ import yaml
import random
with open('words.yaml') as data_file:
data = yaml.load(data_file)
data = yaml.safe_load(data_file)
def get_noun():

View file

@ -1,37 +1,38 @@
asn1crypto==0.24.0
attrs==18.1.0
attrs==18.2.0
Automat==0.7.0
beautifulsoup4==4.6.3
certifi==2018.8.13
cffi==1.11.5
beautifulsoup4==4.7.1
certifi==2019.3.9
cffi==1.12.2
chardet==3.0.4
click==6.7
Click==7.0
constantly==15.1.0
cryptography==2.3.1
cryptography==2.6.1
cssselect==1.0.3
Flask==1.0.2
hyperlink==18.0.0
idna==2.7
idna==2.8
incremental==17.5.0
itsdangerous==0.24
Jinja2==2.10
lxml==4.2.4
MarkupSafe==1.0
parsel==1.5.0
itsdangerous==1.1.0
Jinja2==2.10.1
lxml==4.3.3
MarkupSafe==1.1.1
parsel==1.5.1
pyasn1==0.4.4
pyasn1-modules==0.2.2
pycparser==2.18
pycparser==2.19
PyDispatcher==2.0.5
PyHamcrest==1.9.0
pyOpenSSL==18.0.0
PyYAML==3.13
pyOpenSSL==19.0.0
PyYAML==5.1
queuelib==1.5.0
requests==2.19.1
Scrapy==1.5.1
service-identity==17.0.0
requests==2.21.0
Scrapy==1.6.0
service-identity==18.1.0
six==1.11.0
Twisted==18.7.0
urllib3==1.23
soupsieve==1.9
Twisted==18.9.0
urllib3==1.24.1
w3lib==1.19.0
Werkzeug==0.14.1
zope.interface==4.5.0
Werkzeug==0.15.2
zope.interface==4.6.0

View file

@ -108,7 +108,7 @@ def inlinequery(bot, update):
def startup(job_queue):
with open("save.yaml") as json_file:
save = yaml.load(json_file)
save = yaml.safe_load(json_file)
for s in save["subscriptions"]:
job = job_queue.run_daily(subscribe_notification, context=s,
time=datetime.datetime.now().replace(minute=0, hour=8, second=0)