소스 검색

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()