BBrother commited on
Commit
f73c817
1 Parent(s): fdfc2a3

Update nologs.py

Browse files
Files changed (1) hide show
  1. nologs.py +1 -1
nologs.py CHANGED
@@ -4,7 +4,7 @@ import logging
4
  import os
5
 
6
  # 检查是否存在 logs.txt 文件,如果存在则删除它
7
- log_file = '/etc/main/logs.txt'
8
  if os.path.exists(log_file):
9
  os.remove(log_file)
10
 
 
4
  import os
5
 
6
  # 检查是否存在 logs.txt 文件,如果存在则删除它
7
+ log_file = '/root/main/logs.txt'
8
  if os.path.exists(log_file):
9
  os.remove(log_file)
10