Skip to content

Commit d377ddb

Browse files
authored
Fixing empty DistMethod in cameras endpoint. (#75)
1 parent e20c095 commit d377ddb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/cameras.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def map_camera(camera_name, config, options=[]):
5858
"notifyEveryMinutes": camera.get("NotifyEveryMinutes"),
5959
"dailyReport": camera.get("DailyReport"),
6060
'dailyReportTime': camera.get('DailyReportTime'),
61-
"image": image
61+
"image": image,
62+
"distMethod": camera.get("DistMethod"),
6263
}
6364

6465

0 commit comments

Comments
 (0)