From 4c46b3a90e6cc45ad1fd4adf3604ae7a71b4e7f8 Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Wed, 3 Apr 2019 10:41:35 -0500 Subject: [PATCH] Set get_name_from_direction cache to fresh on time acquisition. --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index e73b9af..c9fe45f 100755 --- a/main.py +++ b/main.py @@ -176,6 +176,7 @@ def main(args): key = make_key(info['rt'], info['rtdir'], ctabus.api, None) if key not in ctabus.get_name_from_direction.cache.keys(): ctabus.get_name_from_direction.cache[key] = info['des'] + ctabus.get_name_from_direction.fresh = True if args.periodic is not None: _done = False while not _done: