Fix TypeError

This commit is contained in:
tomkat83 2017-04-30 17:11:11 +02:00
parent 0909235a63
commit 0805cfeb61

View file

@ -123,9 +123,7 @@ class Main():
elif mode in ('manualsync', 'repair'): elif mode in ('manualsync', 'repair'):
if window('plex_online') != 'true': if window('plex_online') != 'true':
# Server is not online, do not run the sync # Server is not online, do not run the sync
dialog('ok', dialog('ok', lang(29999), lang(39205))
heading=lang(29999),
message=lang(39205))
log.error('Not connected to a PMS.') log.error('Not connected to a PMS.')
else: else:
if mode == 'repair': if mode == 'repair':