mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2026-03-22 06:57:16 +08:00
更新代码
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from pathlib import Path
|
||||
from shutil import move
|
||||
|
||||
__all__ = ['Manager']
|
||||
|
||||
@@ -11,3 +12,7 @@ class Manager:
|
||||
@staticmethod
|
||||
def delete(path: Path):
|
||||
path.unlink()
|
||||
|
||||
@staticmethod
|
||||
def remove(temp: Path, path: Path):
|
||||
move(temp.resolve(), path.resolve())
|
||||
|
||||
Reference in New Issue
Block a user