Compare commits

..

1 Commits

Author SHA1 Message Date
Kellermann
841be3d458 One more NoneType fix 2022-05-13 14:06:56 +02:00
3 changed files with 19 additions and 10 deletions

View File

@@ -10,6 +10,8 @@ updates:
directory: "/api" directory: "/api"
schedule: schedule:
interval: "daily" interval: "daily"
assignees:
- "H4CK3R-01"
open-pull-requests-limit: 100 open-pull-requests-limit: 100
# Bot # Bot
@@ -17,6 +19,10 @@ updates:
directory: "/telegram_bot" directory: "/telegram_bot"
schedule: schedule:
interval: "daily" interval: "daily"
assignees:
- "NormalParameter"
- "Rripped"
- "FlorianKellermann"
open-pull-requests-limit: 100 open-pull-requests-limit: 100
# Frontend # Frontend
@@ -24,4 +30,6 @@ updates:
directory: "/frontend" directory: "/frontend"
schedule: schedule:
interval: "daily" interval: "daily"
assignees:
- "kevinpauer"
open-pull-requests-limit: 100 open-pull-requests-limit: 100

View File

@@ -1,8 +1,8 @@
Flask~=2.1.2 Flask~=2.1.2
python-dotenv==0.21.0 python-dotenv==0.20.0
uwsgi==2.0.20 uwsgi==2.0.20
Flask_SQLAlchemy==2.5.1 Flask_SQLAlchemy==2.5.1
python-dotenv==0.21.0 python-dotenv==0.20.0
pymysql==1.0.2 pymysql==1.0.2
pyjwt==2.3.0 pyjwt==2.3.0
apiflask==1.0.0 apiflask==1.0.0

View File

@@ -149,6 +149,7 @@ def update_for_user(p_user_id, p_my_handler):
shares = p_my_handler.get_user_shares(p_user_id) # all interest shares shares = p_my_handler.get_user_shares(p_user_id) # all interest shares
if shares!=None
if len(share_symbols) != 0: # iterate through all shares if len(share_symbols) != 0: # iterate through all shares
for i in range(len(share_symbols)): for i in range(len(share_symbols)):