summaryrefslogtreecommitdiff
path: root/poezio/windows/bookmark_forms.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-07-02 20:59:25 +0200
committermathieui <mathieui@mathieui.net>2021-07-02 20:59:25 +0200
commit2b3cde233fec354bf1b1894e926d67ec9ce371b8 (patch)
tree89b28567bd65a4d71715ea29096855b4b8e5ea80 /poezio/windows/bookmark_forms.py
parent26505c32df055bfe41c3a852fff1b1eaf5dafda7 (diff)
downloadpoezio-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/bookmark_forms.py')
-rw-r--r--poezio/windows/bookmark_forms.py2
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