Get full path to file, rather than a realtive one. Decrappify files in less roundabout and problem-causing way (used to split dir/file name, then rejoin the filenames to the location, which breaks if there is sub-directories)

This commit is contained in:
dbr
2008-11-08 18:49:13 +10:30
parent c167891821
commit 8f421444fd
2 changed files with 8 additions and 9 deletions

View File

@@ -104,9 +104,11 @@ film_regex['missing_year'] = [
# Valid paths
#
# ./
#
film_regex['valid_path'] = [
re.compile("/.$"),
re.compile(".*?/video/films$"),
re.compile(".*?/video/films/Short Films(/.*?)?")
]
###################################