projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More type annotations.
[python_utils.git]
/
site_config.py
diff --git
a/site_config.py
b/site_config.py
index 62c2b98d347c67954980e794a93e5edebcf705a2..b09e735c79c8f92665438b2c064f9ccf652d33bd 100644
(file)
--- a/
site_config.py
+++ b/
site_config.py
@@
-97,9
+97,7
@@
def get_config():
network_netmask='255.255.255.0',
network_router_ip='10.0.0.1',
presence_location=Location.HOUSE,
network_netmask='255.255.255.0',
network_router_ip='10.0.0.1',
presence_location=Location.HOUSE,
- is_anyone_present=lambda x=Location.HOUSE: is_anyone_present_wrapper(
- x
- ),
+ is_anyone_present=lambda x=Location.HOUSE: is_anyone_present_wrapper(x),
arper_minimum_device_count=50,
)
elif location == 'CABIN':
arper_minimum_device_count=50,
)
elif location == 'CABIN':
@@
-110,9
+108,7
@@
def get_config():
network_netmask='255.255.255.0',
network_router_ip='192.168.0.1',
presence_location=Location.CABIN,
network_netmask='255.255.255.0',
network_router_ip='192.168.0.1',
presence_location=Location.CABIN,
- is_anyone_present=lambda x=Location.CABIN: is_anyone_present_wrapper(
- x
- ),
+ is_anyone_present=lambda x=Location.CABIN: is_anyone_present_wrapper(x),
arper_minimum_device_count=15,
)
else:
arper_minimum_device_count=15,
)
else: