Log styling

This commit is contained in:
Ruud
2011-10-10 11:37:42 +02:00
parent e154ee59d2
commit 4aaac7cf87
4 changed files with 53 additions and 14 deletions
+1 -8
View File
@@ -36,15 +36,8 @@ class Logging(Plugin):
log = ''
if current_path:
# Reverse
f = open(current_path, 'r')
lines = []
for line in f.readlines():
lines.insert(0, line)
log = ''
for line in lines:
log += line
log = f.read()
return jsonified({
'success': True,