Error:
UnboundLocalError: local variable 'qbitItems' referenced before assignment
Happening at application start.
Application crash at startup if QBITTORRENT_URL is not set due to logger accessing un-assigned variable, by moving this log line into the if statement it should prevent the issue.
Error:
UnboundLocalError: local variable 'qbitItems' referenced before assignment
Happening at application start.Application crash at startup if QBITTORRENT_URL is not set due to logger accessing un-assigned variable, by moving this log line into the if statement it should prevent the issue.