This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from silo_common.database import local_db | |
from collections import namedtuple | |
#Anthing passed via the EM7_RESULT is in clear text visible to anyone. Better not send any confidential data through that channel! | |
app_id = 0 | |
try: | |
dbc = local_db() | |
query = ("select app_id from master.dynamic_app_alerts where alert_id = {}".format(EM7_VALUES['%F'])) | |
app_id = dbc.autofetch_value(query) |