1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
PySolFC/pysollib/games/mahjongg
Alexandre Detiste 148f189a74
trim usage of six (#382)
This is artisanal manual craftwork :-)

     def mDone(self, button):
         if button == 0:        # "OK" or double click
-            if isinstance(self.tree.selection_key, six.string_types):
-                self.key = str(self.tree.selection_key)
-            else:
-                self.key = self.tree.selection_key
+            self.key = self.tree.selection_key
2024-09-18 20:33:10 -04:00
..
__init__.py Restored lost Mahjongg layouts (see issue #301). 2023-11-11 12:27:33 -05:00
mahjongg.py trim usage of six (#382) 2024-09-18 20:33:10 -04:00
mahjongg1.py Cleanup of Mahjongg. Fixed the old layout import scripts. 2024-03-16 20:38:47 -04:00
mahjongg2.py Cleanup of Mahjongg. Fixed the old layout import scripts. 2024-03-16 20:38:47 -04:00
mahjongg3.py Cleanup of Mahjongg. Fixed the old layout import scripts. 2024-03-16 20:38:47 -04:00
mahjonggL.py Cleanup of Mahjongg. Fixed the old layout import scripts. 2024-03-16 20:38:47 -04:00
shisensho.py trim usage of six (#382) 2024-09-18 20:33:10 -04:00