mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-05-04 11:51:33 +08:00
chore: add TODO mark for legacy os.path and ntpath code
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user