Skip to content

Commit

Permalink
Remove code in the queries that reads the config
Browse files Browse the repository at this point in the history
Since this code has moved over, we no longer need to use it
  • Loading branch information
shankari committed Nov 28, 2017
1 parent 7138bc5 commit 75674f5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions emission/net/ext_service/push/notify_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 75674f5

Please sign in to comment.