1
0
Fork 0

Update requirements and add update script

This commit is contained in:
Ethanell 2019-12-21 11:49:06 +01:00
parent 4587df372a
commit c20f2509bb
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,4 @@
feedparser
aiogram==2.3
aiohttp==3.6.0
arrow==0.11.0

9
update.py Normal file
View file

@ -0,0 +1,9 @@
import shelve
from EDTuser import User
with shelve.open("edt", writeback=True) as db:
for u in db:
nu = User(0, None)
for v in db[u].__dict__:
setattr(nu, v, db[u].__dict__[v])
db[u] = nu