mirror of
				https://github.com/arsenetar/dupeguru.git
				synced 2025-09-11 17:58:17 +00:00 
			
		
		
		
	[#106 state:fixed] I couldn't find the root cause of the problem, but I wrapped it anyway...
This commit is contained in:
		
							parent
							
								
									361d4698a9
								
							
						
					
					
						commit
						9bd093a03c
					
				| @ -127,7 +127,13 @@ class PyDupeGuruBase(PyRegistrable): | ||||
|      | ||||
|     #---Worker | ||||
|     def getJobProgress(self): | ||||
|         try: | ||||
|             return self.py.progress.last_progress | ||||
|         except AttributeError: | ||||
|             # I have *no idea* why this can possible happen (last_progress is always set by | ||||
|             # create_job() *before* any threaded job notification, which shows the progress panel, | ||||
|             # is sent), but it happens anyway, so there we go. | ||||
|             return -1 | ||||
|      | ||||
|     def getJobDesc(self): | ||||
|         return self.py.progress.last_desc | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user