mirror of
				https://github.com/robweber/xbmcbackup.git
				synced 2025-11-03 19:02:14 +01:00 
			
		
		
		
	change to wait for abort in case someone tries to close Kodi
This commit is contained in:
		@@ -25,7 +25,7 @@ class BackupScheduler:
 | 
				
			|||||||
        if(self.enabled == "true"):
 | 
					        if(self.enabled == "true"):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            #sleep for 2 minutes so Kodi can start and time can update correctly
 | 
					            #sleep for 2 minutes so Kodi can start and time can update correctly
 | 
				
			||||||
            xbmc.sleep(1000 * 120)
 | 
					            xbmc.Monitor().waitForAbort(120)
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            nr = 0
 | 
					            nr = 0
 | 
				
			||||||
            if(xbmcvfs.exists(self.next_run_path)):
 | 
					            if(xbmcvfs.exists(self.next_run_path)):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user