Skip to content

Commit

Permalink
Removed duplicate line
Browse files Browse the repository at this point in the history
  • Loading branch information
inventor96 authored and scottleibrand committed Apr 10, 2024
1 parent edf8bf6 commit 2595eca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/oref0_nightscout_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def check_permissions():

if pg==["*"]: # admin role
logging.warning("The use of the admin role for token based authentication is not recommended, see https://openaps.readthedocs.io/en/master/docs/walkthrough/phase-1/nightscout-setup.md#switching-from-api_secret-to-token-based-authentication-for-your-rig")
missing = []
else:
for perm in ["api:treatments:read", "api:treatments:create", "api:treatments:read", "api:treatments:create", "api:devicestatus:read", "api:devicestatus:create"]:
logging.debug("Checking %s" % perm)
Expand Down

0 comments on commit 2595eca

Please sign in to comment.