Traceback (most recent call last):


 "/Users/jperez/vtdev/aws-mfa/mfa.py", line 113, in <module>

main()


 "/Users/jperez/vtdev/aws-mfa/mfa.py", line 104, in main

client = vtmfa.get_sts_client(config_settings[1],config_settings[2],args.region, args)


 "/Users/jperez/vtdev/aws-mfa/modules/mfa.py", line 88, in get_sts_client

return client
UnboundLocalError: local variable 'client' referenced before assignment`

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 261, in async_update_ha_state

await self.async_device_update()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 441, in async_device_update

await self.hass.async_add_executor_job(self.update)


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/homeassistant/homeassistant/components/qbittorrent/sensor.py", line 120, in update

if data is None:
UnboundLocalError: local variable 'data' referenced before assignment
