fixes
This commit is contained in:
3
scan.py
3
scan.py
@@ -12,6 +12,7 @@
|
||||
import os
|
||||
import re
|
||||
import fnmatch
|
||||
import textwrap
|
||||
|
||||
whitelist = [
|
||||
'/lp-msh-scanner/',
|
||||
@@ -610,7 +611,7 @@ def is_hacked(filename):
|
||||
cleanup_available = True
|
||||
if cleanup_available and line_num == 1:
|
||||
cleanup_available = False
|
||||
return {'filename': filename,
|
||||
return {'filename': join(textwrap.wrap(filename, 200),
|
||||
'score': total_score,
|
||||
'mtime': os.stat(filename).st_mtime,
|
||||
'ctime': os.stat(filename).st_ctime,
|
||||
|
||||
Reference in New Issue
Block a user