Update nologs.py
Browse files
nologs.py
CHANGED
@@ -4,7 +4,7 @@ import logging
|
|
4 |
import os
|
5 |
|
6 |
# 检查是否存在 logs.txt 文件,如果存在则删除它
|
7 |
-
log_file = '/content/
|
8 |
if os.path.exists(log_file):
|
9 |
os.remove(log_file)
|
10 |
|
|
|
4 |
import os
|
5 |
|
6 |
# 检查是否存在 logs.txt 文件,如果存在则删除它
|
7 |
+
log_file = '/content/drive/MyDrivelogs.txt'
|
8 |
if os.path.exists(log_file):
|
9 |
os.remove(log_file)
|
10 |
|