|
|
@@ -1,4 +1,4 @@
|
|
|
-import sys, re, pathlib, logging
|
|
|
+import re, pathlib, logging
|
|
|
import langcodes
|
|
|
from .consts import Consts
|
|
|
from .tag import Tag
|
|
|
@@ -52,7 +52,6 @@ class Scan:
|
|
|
info['sdh'] = m.group(3).lower() in Consts.subs_sdh
|
|
|
|
|
|
info['ext'] = m.group(4).lower()
|
|
|
- del m
|
|
|
|
|
|
# Skip non-media files (and parsing errors)
|
|
|
if not info['ext']:
|