Commit f4544635 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix history typo

parent 099b433b
......@@ -51,7 +51,7 @@ class History(object):
return True
def get(self, match_terms=None, limit=0):
limit = int(limit) or 0
limit = int(limit or 0)
with, mode='r', encoding='utf-8') as f:
result = [u'%s. \t%s' % (
i + 1, line) for i, line in enumerate(f.readlines())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment