Upload styles.patch
Browse files- patch/styles.patch +10 -0
patch/styles.patch
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--- styles.py 2023-03-21 14:06:37.886175393 +0000
|
2 |
+
+++ styles_fix.py 2023-03-21 14:09:13.003901716 +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)
|