Spaces:
Build error
Build error
Minor
Browse files- data_measurements/npmi.py +1 -1
- data_measurements/zipf.py +1 -1
data_measurements/npmi.py
CHANGED
@@ -34,7 +34,7 @@ logs.propagate = False
|
|
34 |
|
35 |
if not logs.handlers:
|
36 |
|
37 |
-
Path(
|
38 |
|
39 |
# Logging info to log file
|
40 |
file = logging.FileHandler("./log_files/npmi.log")
|
|
|
34 |
|
35 |
if not logs.handlers:
|
36 |
|
37 |
+
Path("./log_files").mkdir(exist_ok=True)
|
38 |
|
39 |
# Logging info to log file
|
40 |
file = logging.FileHandler("./log_files/npmi.log")
|
data_measurements/zipf.py
CHANGED
@@ -34,7 +34,7 @@ logs.propagate = False
|
|
34 |
|
35 |
if not logs.handlers:
|
36 |
|
37 |
-
Path(
|
38 |
|
39 |
# Logging info to log file
|
40 |
file = logging.FileHandler("./log_files/zipf.log")
|
|
|
34 |
|
35 |
if not logs.handlers:
|
36 |
|
37 |
+
Path("./log_files").mkdir(exist_ok=True)
|
38 |
|
39 |
# Logging info to log file
|
40 |
file = logging.FileHandler("./log_files/zipf.log")
|