Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
Minor revision
Browse files Browse the repository at this point in the history
'name' field, which is written in the json file, is slightly changed
  • Loading branch information
mohammades303 committed Feb 9, 2017
1 parent 669077c commit 2b16c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exif2timestream.py
Expand Up @@ -402,7 +402,7 @@ def create_small_json(res, camera, full_res, image_resolution, p_start, p_end, t
'ts_name': camera.fn_structure.format(folder=folder, res=res, step=step).replace(os.path.sep, ""),
'ts_id': '{}-{}-{}{}'.format(camera.expt, camera.location, camera.cam_type, camera.cam_num) + str(camera.datasetID) + (
'' if step not in ['cor', 'seg'] else ('-' + step)),
'name': camera.userfriendlyname,
'name': camera.userfriendlyname + ('' if step not in ['cor', 'seg'] else ('-' + step)),
'period_in_minutes': camera.interval,
'period_in_seconds': camera.interval*60,
'posix_end': mktime(p_end),
Expand Down

0 comments on commit 2b16c84

Please sign in to comment.