meg HF staff commited on
Commit
a0a4b07
1 Parent(s): ec99b37
data_measurements/npmi.py CHANGED
@@ -34,7 +34,7 @@ logs.propagate = False
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")
 
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('./log_files').mkdir(exist_ok=True)
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")