浏览代码

Delete a.py

Stefan Pejcic 1 年之前
父节点
当前提交
d1cc596874
共有 1 个文件被更改,包括 0 次插入19 次删除
  1. 0 19
      a.py

+ 0 - 19
a.py

@@ -1,19 +0,0 @@
-
-import os
-
-destination_config_dir = '/usr/local/RapidBackup/config/destinations'
-destinacija = "/etc/passwd /etc/passwd"
-
-# Show file path
-def delete_destination():
-    file_path = os.path.join(destination_config_dir, f"{destinacija}.conf")
-    print(file_path)
-
-    try:
-        with open(file_path, 'r') as file:
-            print(file.read())
-    except FileNotFoundError:
-        print("nema")
-
-
-delete_destination()