🧹 don't hardcode excludes
This commit is contained in:
parent
5db082be89
commit
82248deb8d
1 changed files with 1 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/env python3
|
||||||
import subprocess
|
import subprocess
|
||||||
import collections
|
import collections
|
||||||
import re
|
import re
|
||||||
|
@ -23,12 +23,6 @@ def main(exclude, arguments):
|
||||||
continue
|
continue
|
||||||
key, file = l.split(":", maxsplit=1)
|
key, file = l.split(":", maxsplit=1)
|
||||||
|
|
||||||
# XXX
|
|
||||||
if file.lower().endswith(".jpg"):
|
|
||||||
continue
|
|
||||||
if file.lower().endswith(".nfo"):
|
|
||||||
continue
|
|
||||||
|
|
||||||
files[key].append(file)
|
files[key].append(file)
|
||||||
|
|
||||||
for k in files:
|
for k in files:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue