From 08ca9bd5c59dd09368958724467c1dbabb0205df Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 15 Dec 2012 22:57:57 +0100 Subject: Sort the configurations options by name in the documentation (instead of chaos) --- src/logger.py | 2 +- src/tabs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/logger.py b/src/logger.py index 946c2bab..c4140347 100644 --- a/src/logger.py +++ b/src/logger.py @@ -63,7 +63,7 @@ class Logger(object): except IOError: return None - def get_logs(self, jid, nb=200): + def get_logs(self, jid, nb=10): """ Get the log history for the given jid """ diff --git a/src/tabs.py b/src/tabs.py index 33f91c57..b8588bb2 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -435,7 +435,7 @@ class ChatTab(Tab): self.update_keys() # Get the logs - log_nb = config.get('load_log', 200) + log_nb = config.get('load_log', 10) if isinstance(self, PrivateTab): logs = logger.get_logs(safeJID(self.get_name()).full.replace('/', '\\'), log_nb) -- cgit v1.2.3