Fix typo.
[python_utils.git] / base_presence.py
index 8be4d936d7a5e1e9be2027e8b3ad5b7ea47b98de..5984b416558d8959bb2bc8859bd32de9ad5dc95b 100755 (executable)
@@ -1,9 +1,13 @@
 #!/usr/bin/env python3
 
+# © Copyright 2021-2022, Scott Gasch
+
 """This is a module dealing with trying to guess a person's location
 based on the location of certain devices (e.g. phones, laptops)
 belonging to that person.  It works with networks I run that log
-device MAC addresses active."""
+device MAC addresses active.
+
+"""
 
 import datetime
 import logging
@@ -118,7 +122,7 @@ class PresenceDetection(object):
         try:
             raw = cmd(
                 "ssh [email protected] 'cat /home/scott/cron/persisted_mac_addresses.txt'",
-                timeout_seconds=10.0,
+                timeout_seconds=20.0,
             )
             self.parse_raw_macs_file(raw, Location.CABIN)
         except Exception as e: