fix: Don't try to map entity to unc path if entity is not set.
This commit is contained in:
		
							parent
							
								
									4fded99f98
								
							
						
					
					
						commit
						c454edd546
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -255,6 +255,9 @@ class Heartbeat(object):
 | 
			
		|||
        if self._file_exists():
 | 
			
		||||
            return
 | 
			
		||||
 | 
			
		||||
        if not self.entity:
 | 
			
		||||
            return
 | 
			
		||||
 | 
			
		||||
        self.args.local_file = self._to_unc_path(self.entity)
 | 
			
		||||
 | 
			
		||||
    def _to_unc_path(self, filepath):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue