Mercurial > libervia-desktop-kivy
diff cagou/core/constants.py @ 312:772c170b47a9
Python3 port:
/!\ Cagou now runs with Python 3.6+
Port has been done in the same way as for backend (check backend commit b2d067339de3
message for details).
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 13 Aug 2019 19:14:22 +0200 |
parents | f55b60659ec1 |
children | e2b51663d8b8 |
line wrap: on
line diff
--- a/cagou/core/constants.py Mon Aug 05 11:21:54 2019 +0200 +++ b/cagou/core/constants.py Tue Aug 13 19:14:22 2019 +0200 @@ -22,19 +22,19 @@ class Const(constants.Const): - APP_NAME = u"Cagou" + APP_NAME = "Cagou" APP_VERSION = cagou.__version__ LOG_OPT_SECTION = APP_NAME.lower() CONFIG_SECTION = APP_NAME.lower() - WID_SELECTOR = u'selector' - ICON_SIZES = (u'small', u'medium') # small = 32, medium = 44 - DEFAULT_WIDGET_ICON = u'{media}/misc/black.png' + WID_SELECTOR = 'selector' + ICON_SIZES = ('small', 'medium') # small = 32, medium = 44 + DEFAULT_WIDGET_ICON = '{media}/misc/black.png' - PLUG_TYPE_WID = u'wid' - PLUG_TYPE_TRANSFER = u'transfer' + PLUG_TYPE_WID = 'wid' + PLUG_TYPE_TRANSFER = 'transfer' - TRANSFER_UPLOAD = u"upload" - TRANSFER_SEND = u"send" + TRANSFER_UPLOAD = "upload" + TRANSFER_SEND = "send" COLOR_PRIM = (0.98, 0.98, 0.98, 1) COLOR_PRIM_LIGHT = (1, 1, 1, 1)