浏览代码

Add comment (#261).

Dan Helfman 7 月之前
父节点
当前提交
65a323433c
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      borgmatic/config/paths.py

+ 3 - 1
borgmatic/config/paths.py

@@ -110,7 +110,9 @@ class Runtime_directory:
 
         self.runtime_path = expand_user_in_path(
             os.path.join(
-                base_path if final_directory == 'borgmatic' else runtime_directory, '.', 'borgmatic'
+                base_path if final_directory == 'borgmatic' else runtime_directory,
+                '.',  # Borg 1.4+ "slashdot" hack.
+                'borgmatic',
             )
         )
         os.makedirs(self.runtime_path, mode=0o700, exist_ok=True)