Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
92b4c81e by wurstsalat at 2025-01-20T21:01:46+01:00
cfix: VariantMixin: Add processing for 'Literal' type

- - - - -


1 changed file:

- gajim/common/structs.py


Changes:

=====================================
gajim/common/structs.py
=====================================
@@ -244,7 +244,7 @@ def _get_type_and_variant_string(self,
         if 'Optional' in field_type:
             variant_str = 'm'
 
-        if 'str' in field_type:
+        if 'str' in field_type or 'Literal' in field_type:
             return str, f'{variant_str}s'
 
         if 'int' in field_type:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/92b4c81eb94d0de87562c6b86ae55d4a91ea49dd

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


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to