mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
fix
This commit is contained in:
parent
cab8b61616
commit
88be274ece
@ -156,6 +156,13 @@ def switchdir():
|
|||||||
# 0 是当前目录
|
# 0 是当前目录
|
||||||
# 后面的是系统库或runtime
|
# 后面的是系统库或runtime
|
||||||
# 由于自动更新不会删除,runtime下可能有历史遗留的同名文件被优先导入
|
# 由于自动更新不会删除,runtime下可能有历史遗留的同名文件被优先导入
|
||||||
|
import shutil
|
||||||
|
|
||||||
|
# 远古版本的遗留文件,同名导入冲突
|
||||||
|
try:
|
||||||
|
shutil.rmtree("./LunaTranslator/requests")
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user