Sets name_hash to correct variable hashid not name_hash.wq

This commit is contained in:
2018-09-15 12:34:18 +02:00
parent 3eb3609a38
commit 0badb4e988

View File

@@ -76,7 +76,7 @@ def scan_video(path):
# hash of name
hashids = Hashids(min_length=16)
hashid = hashids.encode(path)
video.name_hash = name_hash
video.name_hash = hashid
return video