Upload styles2.patch
Browse files- patch/styles2.patch +10 -0
patch/styles2.patch
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--- styles.py 2023-03-21 14:53:01.759005946 +0000
|
2 |
+
+++ styles_fix.py 2023-03-21 14:52:01.634736815 +0000
|
3 |
+
@@ -83,5 +83,5 @@
|
4 |
+
|
5 |
+
# Always keep a backup file around
|
6 |
+
if os.path.exists(path):
|
7 |
+
- shutil.move(path, path + ".bak")
|
8 |
+
- shutil.move(temp_path, path)
|
9 |
+
+ shutil.copy2(path, path + ".bak")
|
10 |
+
+ shutil.copy2(temp_path, path)
|