Skip to content

Commit 3173e9c

Browse files
committed
This is odd.
1 parent 44eed79 commit 3173e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/plex-bootstraptest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ def alert_callback(data):
125125
bar = tqdm(desc='Scanning section ' + section['name'], total=expected_media_count)
126126
notifier = server.startAlertListener(alert_callback)
127127
add_library_section(server, section)
128-
while processed_media < expected_media_count: # bar.n < bar.total:
129-
if runtime >= opts.bootstrap_timeout:
128+
while bar.n < bar.total:
129+
if runtime >= 120:
130130
print('Metadata scan taking too long, but will continue anyway..')
131131
break
132132
time.sleep(3)

0 commit comments

Comments
 (0)