mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 03:44:49 +00:00 
			
		
		
		
	fix(Track): Compute Track ID from the this variable, not self
				
					
				
			This commit is contained in:
		
							parent
							
								
									4c395edc53
								
							
						
					
					
						commit
						10a01b0b47
					
				@ -97,7 +97,7 @@ class Track:
 | 
			
		||||
        if not id_:
 | 
			
		||||
            this = copy(self)
 | 
			
		||||
            this.url = self.url.rsplit("?", maxsplit=1)[0]
 | 
			
		||||
            checksum = crc32(repr(self).encode("utf8"))
 | 
			
		||||
            checksum = crc32(repr(this).encode("utf8"))
 | 
			
		||||
            id_ = hex(checksum)[2:]
 | 
			
		||||
 | 
			
		||||
        self.id = id_
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user