This commit is contained in:
jxxghp
2024-07-01 21:38:44 +08:00
parent 60827fd5b1
commit b4e1e911fc
3 changed files with 83 additions and 103 deletions

View File

@@ -94,7 +94,6 @@ class SystemUtils:
shutil.copy2(src, dest)
return 0, ""
except Exception as err:
print(str(err))
return -1, str(err)
@staticmethod
@@ -109,7 +108,6 @@ class SystemUtils:
shutil.move(temp, dest)
return 0, ""
except Exception as err:
print(str(err))
return -1, str(err)
@staticmethod
@@ -128,7 +126,6 @@ class SystemUtils:
shutil.move(tmp_path, dest)
return 0, ""
except Exception as err:
print(str(err))
return -1, str(err)
@staticmethod
@@ -140,7 +137,6 @@ class SystemUtils:
dest.symlink_to(src)
return 0, ""
except Exception as err:
print(str(err))
return -1, str(err)
@staticmethod