Philipp Hörist pushed to branch master at gajim / gajim


Commits:
211ed18e by Philipp Hörist at 2019-08-10T17:16:04Z
Fix return value

- - - - -


1 changed file:

- gajim/common/modules/bookmarks.py


Changes:

=====================================
gajim/common/modules/bookmarks.py
=====================================
@@ -225,7 +225,7 @@ class Bookmarks(BaseModule):
     def get_name_from_bookmark(self, jid: str) -> str:
         bookmark = self.get_bookmark_from_jid(jid)
         if bookmark is None:
-            return
+            return ''
         return bookmark.name
 
     def is_bookmark(self, jid: str) -> bool:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/211ed18e47c6cd34edfcea14ffa5a85fbf96b406

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/211ed18e47c6cd34edfcea14ffa5a85fbf96b406
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to