Skip to content
Snippets Groups Projects
Commit e6197afa authored by tomrink's avatar tomrink
Browse files

snapshot...

parent bc473e7d
No related branches found
No related tags found
No related merge requests found
......@@ -46,8 +46,10 @@ def setup():
def get_clavrx_datasource(timestamp):
dt_obj, time_tup = get_time_tuple_utc(timestamp)
date_dir_str = dt_obj.strftime(dir_fmt)
print(dt_obj)
ds = ds_dct.get(date_dir_str)
if ds is None:
print(' new datasource: ', date_dir_str)
ds = CLAVRx(clavrx_dir + date_dir_str + '/')
ds_dct[date_dir_str] = ds
return ds
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment