fix: typo

pull/519/head
Terrtia 2020-07-10 15:57:29 +02:00
parent 4ca02a7243
commit 9675d9543d
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 2 additions and 3 deletions

View File

@ -8,14 +8,13 @@ import redis
sys.path.append(os.path.join(os.environ['AIL_BIN'], 'lib/')) sys.path.append(os.path.join(os.environ['AIL_BIN'], 'lib/'))
import ConfigLoader import ConfigLoader
#import item_basic
import item_basic
config_loader = ConfigLoader.ConfigLoader() config_loader = ConfigLoader.ConfigLoader()
r_serv_tracker = config_loader.get_redis_conn("ARDB_Tracker") r_serv_tracker = config_loader.get_redis_conn("ARDB_Tracker")
config_loader = None config_loader = None
get_tracker_description(tracker_uuid): def get_tracker_description(tracker_uuid):
return r_serv_tracker.hget('tracker:{}'.format(term_uuid), 'description') return r_serv_tracker.hget('tracker:{}'.format(term_uuid), 'description')
def get_email_subject(tracker_uuid): def get_email_subject(tracker_uuid):