Spaces:
Running
Running
fix runtimeerror
Browse files- .gitignore +1 -0
- logging_helper.py +1 -1
.gitignore
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
.vscode
|
|
|
|
| 2 |
# Byte-compiled / optimized / DLL files
|
| 3 |
__pycache__/
|
| 4 |
*.py[cod]
|
|
|
|
| 1 |
.vscode
|
| 2 |
+
data
|
| 3 |
# Byte-compiled / optimized / DLL files
|
| 4 |
__pycache__/
|
| 5 |
*.py[cod]
|
logging_helper.py
CHANGED
|
@@ -99,7 +99,7 @@ class LoggingHelper:
|
|
| 99 |
day = self.today.day.__str__()
|
| 100 |
remotedir = "/".join([year, month, day])
|
| 101 |
files_to_push = []
|
| 102 |
-
for filename in self.buffer:
|
| 103 |
if not filename.startswith(remotedir):
|
| 104 |
continue
|
| 105 |
if not self.need_push[filename]:
|
|
|
|
| 99 |
day = self.today.day.__str__()
|
| 100 |
remotedir = "/".join([year, month, day])
|
| 101 |
files_to_push = []
|
| 102 |
+
for filename in self.buffer.keys():
|
| 103 |
if not filename.startswith(remotedir):
|
| 104 |
continue
|
| 105 |
if not self.need_push[filename]:
|