mirror of
				https://github.com/robweber/xbmcbackup.git
				synced 2025-10-31 17:41:03 +01:00 
			
		
		
		
	use monitor.abortRequested()
This commit is contained in:
		| @@ -3,7 +3,6 @@ import xbmcvfs | ||||
| import xbmcgui | ||||
| import datetime | ||||
| import time | ||||
| import os | ||||
| import resources.lib.utils as utils | ||||
| from resources.lib.croniter import croniter | ||||
| from resources.lib.backup import XbmcBackup | ||||
| @@ -66,7 +65,7 @@ class BackupScheduler: | ||||
|             restore.skipAdvanced() | ||||
|             restore.run(XbmcBackup.Restore) | ||||
|          | ||||
|         while(not xbmc.abortRequested): | ||||
|         while(not self.monitor.abortRequested()): | ||||
|              | ||||
|             if(self.enabled == "true"): | ||||
|                 #scheduler is still on | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Rob Weber
					Rob Weber