mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-06 02:30:50 -08:00
Fix incorrectly logging batched settings changes
- Number of settings changed was incremented, but never reset after processing
This commit is contained in:
parent
d395ce8b76
commit
13cbfe16fd
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ class ServiceMonitor(xbmc.Monitor):
|
|||
return
|
||||
if changes > 1:
|
||||
log_debug('onSettingsChanged: {0} changes'.format(changes))
|
||||
self._settings_changes = 0
|
||||
|
||||
settings = self._settings
|
||||
settings.flush(xbmcaddon.Addon(ADDON_ID))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue