Merge pull request #129 from catalin-ursachi/fix-tildr

TILDR-1073 - Fix profile initialization
sammachin-gprs
Dave Arter 2018-09-07 21:15:27 +01:00 committed by GitHub
commit d696b27ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import database, ujson, sim800, dialogs, http
def get_profile():
profile_json = database.get("tildr_profile")
if profile_json is None:
return {}
return None
profile = ujson.loads(profile_json)
return profile