projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let's be explicit with asserts; there was a bug in histogram
[python_utils.git]
/
smart_home
/
cameras.py
diff --git
a/smart_home/cameras.py
b/smart_home/cameras.py
index 2cf2de40f68c85db2999f00e567cf370c68d152d..712d73f18f5b82db0de4fd9fdebaaafd3ec71182 100644
(file)
--- a/
smart_home/cameras.py
+++ b/
smart_home/cameras.py
@@
-28,6
+28,6
@@
class BaseCamera(dev.Device):
name = self.camera_name
assert name is not None
if name == 'driveway':
name = self.camera_name
assert name is not None
if name == 'driveway':
- return
f
'http://10.0.0.226:8080/Umtxxf1uKMBniFblqeQ9KRbb6DDzN4/mjpeg/GKlT2FfiSQ/driveway'
+ return 'http://10.0.0.226:8080/Umtxxf1uKMBniFblqeQ9KRbb6DDzN4/mjpeg/GKlT2FfiSQ/driveway'
else:
return f'http://10.0.0.226:8080/Umtxxf1uKMBniFblqeQ9KRbb6DDzN4/mp4/GKlT2FfiSQ/{name}/s.mp4'
else:
return f'http://10.0.0.226:8080/Umtxxf1uKMBniFblqeQ9KRbb6DDzN4/mp4/GKlT2FfiSQ/{name}/s.mp4'