Sets name_hash to correct variable hashid not name_hash.wq
This commit is contained in:
@@ -76,7 +76,7 @@ def scan_video(path):
|
|||||||
# hash of name
|
# hash of name
|
||||||
hashids = Hashids(min_length=16)
|
hashids = Hashids(min_length=16)
|
||||||
hashid = hashids.encode(path)
|
hashid = hashids.encode(path)
|
||||||
video.name_hash = name_hash
|
video.name_hash = hashid
|
||||||
|
|
||||||
return video
|
return video
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user