Skip to content

Commit 39b3936

Browse files
committed
Update adult_log.py
1 parent 205bb47 commit 39b3936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/utils/adult_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def parseAuditFile(log_name, result):
134134
log_list.append(_line)
135135
return log_list
136136

137-
def getAuditLast(self, log_name):
137+
def getAuditLast(log_name):
138138
# 获取日志
139139
cmd = '''LANG=en_US.UTF-8 last -n 200 -x -f {} |grep -v 127.0.0.1|grep -v " begins"'''.format(
140140
'/var/log/' + log_name)

0 commit comments

Comments
 (0)