From 75674f546260d50cdb9eb5e088b4296c837dab62 Mon Sep 17 00:00:00 2001 From: "K. Shankari" Date: Mon, 27 Nov 2017 18:35:46 -0800 Subject: [PATCH] Remove code in the queries that reads the config Since this code has moved over, we no longer need to use it --- emission/net/ext_service/push/notify_queries.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/emission/net/ext_service/push/notify_queries.py b/emission/net/ext_service/push/notify_queries.py index d5b44fdde..3a35363e3 100644 --- a/emission/net/ext_service/push/notify_queries.py +++ b/emission/net/ext_service/push/notify_queries.py @@ -7,13 +7,6 @@ # Our imports import emission.core.get_database as edb -try: - key_file = open('conf/net/ext_service/push.json') - key_data = json.load(key_file) - server_auth_token = key_data["server_auth_token"] -except: - logging.exception("push service not configured, push notifications not supported") - def get_platform_query(platform): return {"curr_platform": platform}