diff options
author | mathieui <mathieui@mathieui.net> | 2014-10-20 21:04:14 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-10-20 21:21:04 +0200 |
commit | f9734cde5623aaf701e222b00d5eebdf7a152772 (patch) | |
tree | 8f7b241df886d2c17eaee8f3630511631bf8cc3a /src/windows/funcs.py | |
parent | 7b01c62e07612a123f3ffe94583f51099e470c3b (diff) | |
download | poezio-f9734cde5623aaf701e222b00d5eebdf7a152772.tar.gz poezio-f9734cde5623aaf701e222b00d5eebdf7a152772.tar.bz2 poezio-f9734cde5623aaf701e222b00d5eebdf7a152772.tar.xz poezio-f9734cde5623aaf701e222b00d5eebdf7a152772.zip |
Remove the (sometimes wrong) default values in the config.get() calls
Diffstat (limited to 'src/windows/funcs.py')
-rw-r--r-- | src/windows/funcs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/funcs.py b/src/windows/funcs.py index 47011faf..d58d4683 100644 --- a/src/windows/funcs.py +++ b/src/windows/funcs.py @@ -20,7 +20,7 @@ def find_first_format_char(text, chars=None): return pos def truncate_nick(nick, size=None): - size = size or config.get('max_nick_length', 25) + size = size or config.get('max_nick_length') if size < 1: size = 1 if nick and len(nick) > size: |