Mercurial > libervia-backend
diff src/plugins/plugin_misc_tarot.py @ 2145:33c8c4973743
core (plugins): added missing contants + use of new constants in PLUGIN_INFO
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Feb 2017 18:59:10 +0100 |
parents | 200cd707a46d |
children | 8b37a62336c3 |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_tarot.py Sun Feb 12 17:55:43 2017 +0100 +++ b/src/plugins/plugin_misc_tarot.py Sun Feb 12 18:59:10 2017 +0100 @@ -36,14 +36,14 @@ CG_TAG = 'card_game' PLUGIN_INFO = { - "name": "Tarot cards plugin", - "import_name": "Tarot", - "type": "Misc", - "protocols": [], - "dependencies": ["XEP-0045", "XEP-0249", "ROOM-GAME"], - "main": "Tarot", - "handler": "yes", - "description": _("""Implementation of Tarot card game""") + C.PI_NAME: "Tarot cards plugin", + C.PI_IMPORT_NAME: "Tarot", + C.PI_TYPE: "Misc", + C.PI_PROTOCOLS: [], + C.PI_DEPENDENCIES: ["XEP-0045", "XEP-0249", "ROOM-GAME"], + C.PI_MAIN: "Tarot", + C.PI_HANDLER: "yes", + C.PI_DESCRIPTION: _("""Implementation of Tarot card game""") }