Skip to content

Commit

Permalink
Fixing empty DistMethod in cameras endpoint. (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrill authored Nov 13, 2020
1 parent e20c095 commit d377ddb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/cameras.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def map_camera(camera_name, config, options=[]):
"notifyEveryMinutes": camera.get("NotifyEveryMinutes"),
"dailyReport": camera.get("DailyReport"),
'dailyReportTime': camera.get('DailyReportTime'),
"image": image
"image": image,
"distMethod": camera.get("DistMethod"),
}


Expand Down

0 comments on commit d377ddb

Please sign in to comment.