Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
4e996180fe
1
app.py
1
app.py
@ -632,6 +632,7 @@ def add_user():
|
|||||||
|
|
||||||
# Check if user is already in the habit list
|
# Check if user is already in the habit list
|
||||||
already = False
|
already = False
|
||||||
|
if user:
|
||||||
for u in habit_list.get_users():
|
for u in habit_list.get_users():
|
||||||
if u.id == user.id:
|
if u.id == user.id:
|
||||||
already = True
|
already = True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user