Refactor #2

Merged
KevinMidboe merged 70 commits from refactor into master 2018-10-16 21:11:45 +00:00
Showing only changes of commit 4db1711b9f - Show all commits

View File

@@ -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
@@ -289,7 +289,7 @@ def main():
# hashList = organize_files(episodePath) # hashList = organize_files(episodePath)
# pprint(hashList) # pprint(hashList)
videos = scan_folder() videos = scan_folder(path)
for video in videos: for video in videos:
pprint(video) pprint(video)