@@ -28,6 +28,8 @@ logger = logging.getLogger('ffstatus')
def mac2id(mac):
+ if mac is None:
+ return None
return mac.lower().replace(':', '')