chore: add TODO mark for legacy os.path and ntpath code

This commit is contained in:
100gle
2023-07-03 21:48:38 +08:00
parent c29f89c968
commit fc70f7f1a1

View File

@@ -4,6 +4,7 @@ import re
from module.conf import settings
from module.models import BangumiData
# TODO: replace this logic with pathlib
if ":\\" in settings.downloader.path:
import ntpath as path
else: