From 5491e08cc7b053fd9a201cdd24be9def4d5131cd Mon Sep 17 00:00:00 2001
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Fri, 3 Apr 2020 09:24:57 +0200
Subject: [PATCH] Increase amount to clear in hack

---
 secondary.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/secondary.py b/secondary.py
index 7377fd6..9b30d40 100644
--- a/secondary.py
+++ b/secondary.py
@@ -139,7 +139,7 @@ class Backup:
             trash_path = os.path.join(self.trash, dst.name)
             trash_dir = os.path.dirname(trash_path)
             if not os.path.exists(trash_dir):
-                self.make_room(128*1024) # Hack to make sure there is place
+                self.make_room(256*1024) # Hack to make sure there is place
                 os.makedirs(trash_dir, mode=0o700)
             os.rename(dst_path, trash_path)
 
-- 
GitLab