editor for client
This commit is contained in:
@@ -67,7 +67,7 @@ def file_stat(path, filename):
|
||||
'mtime': file_date_human(s.st_mtime),
|
||||
'name': filename,
|
||||
'url': path2url(filename),
|
||||
'editable': (s.st_size < 10240 and filename.endswith(".txt"))
|
||||
'editable': (s.st_size < 65536 and filename.endswith(".txt"))
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user