diff options
author | mathieui <mathieui@mathieui.net> | 2021-07-02 20:59:25 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-07-02 20:59:25 +0200 |
commit | 2b3cde233fec354bf1b1894e926d67ec9ce371b8 (patch) | |
tree | 89b28567bd65a4d71715ea29096855b4b8e5ea80 /poezio/windows | |
parent | 26505c32df055bfe41c3a852fff1b1eaf5dafda7 (diff) | |
download | poezio-2b3cde233fec354bf1b1894e926d67ec9ce371b8.tar.gz poezio-2b3cde233fec354bf1b1894e926d67ec9ce371b8.tar.bz2 poezio-2b3cde233fec354bf1b1894e926d67ec9ce371b8.tar.xz poezio-2b3cde233fec354bf1b1894e926d67ec9ce371b8.zip |
fix: improve typing
preliminary to more typing added to slixmpp, fix things in advance
Diffstat (limited to 'poezio/windows')
-rw-r--r-- | poezio/windows/bookmark_forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/bookmark_forms.py b/poezio/windows/bookmark_forms.py index a0e57cc7..4ec1259e 100644 --- a/poezio/windows/bookmark_forms.py +++ b/poezio/windows/bookmark_forms.py @@ -38,7 +38,7 @@ class BookmarkJIDInput(FieldInput, Input): jid = JID(field.jid) except InvalidJID: jid = JID('') - jid.resource = field.nick or None + jid.resource = field.nick or '' self.text = jid.full self.pos = 0 self.view_pos = 0 |