Fixed placement
This commit is contained in:
parent
717350e23c
commit
9ecdcd88fe
@ -166,12 +166,12 @@ class EventsPullerThread(threading.Thread):
|
|||||||
else:
|
else:
|
||||||
logging.debug("A successful connection has been made!")
|
logging.debug("A successful connection has been made!")
|
||||||
|
|
||||||
event: MediaEvent | None = None
|
|
||||||
try:
|
try:
|
||||||
rows = self.getEventsAvailable(connection=self.connection)
|
rows = self.getEventsAvailable(connection=self.connection)
|
||||||
if (len(rows) == 0):
|
if (len(rows) == 0):
|
||||||
logger.debug("No events found..")
|
logger.debug("No events found..")
|
||||||
for row in rows:
|
for row in rows:
|
||||||
|
event: MediaEvent | None = None
|
||||||
if (row is not None):
|
if (row is not None):
|
||||||
try:
|
try:
|
||||||
referenceId = row["referenceId"]
|
referenceId = row["referenceId"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user