diff --git a/plugins/idaskins/idafontconfig.py b/plugins/idaskins/idafontconfig.py index 51af9db..5517b41 100644 --- a/plugins/idaskins/idafontconfig.py +++ b/plugins/idaskins/idafontconfig.py @@ -1,6 +1,6 @@ from __future__ import absolute_import, division, print_function -import os +import os, sys import idaapi from PyQt5.QtGui import QFontDatabase @@ -25,8 +25,8 @@ def family(self): 'Name', self._key, 'Consolas' - if os.name == 'nt' else - QFontDatabase.systemFont(QFontDatabase.FixedFont).family() + if os.name == 'nt' else + QFontDatabase.systemFont(QFontDatabase.FixedFont).family().encode() ) @property