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