mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] remove slice by mistake in 14c270cebd
This commit is contained in:
parent
abf0b6c0d9
commit
9df14c6506
1 changed files with 1 additions and 1 deletions
|
@ -709,7 +709,7 @@ def _tail(file, n):
|
|||
lines = f.read().splitlines()
|
||||
|
||||
if len(lines) >= to_read or pos == 0:
|
||||
return lines[-to_read]
|
||||
return lines[-to_read:]
|
||||
|
||||
avg_line_length *= 1.3
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue