Hal De hace 4 años
padre
commit
613fd60830
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/app.py

+ 1 - 1
app/app.py

@@ -571,7 +571,7 @@ async def rebindLostDevices():
   for device in app.cache['devices']:
     user = await getDeviceUser(device)
     if (user != 'none') and (user in app.cache['ustates'].keys()):
-      _device = await getUserDevice(_user)
+      _device = await getUserDevice(user)
       if _device != device:
         app.logger.warning('Fixing bind user {} to device {}'.format(user, device))
         dial = await getDeviceDial(device)