File size: 372 Bytes
2675c11
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
--- styles.py	2023-03-21 14:06:37.886175393 +0000
+++ styles_fix.py	2023-03-21 14:09:13.003901716 +0000
@@ -83,5 +83,5 @@
 
         # Always keep a backup file around
         if os.path.exists(path):
-            shutil.move(path, path + ".bak")
-        shutil.move(temp_path, path)
+            shutil.copy2(path, path + ".bak")
+        shutil.copy2(temp_path, path)