Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Attempt to fix one of the (many) problems that prevent building

The color scheme name may contain translations, therefore opening the
file with the 'ascii' codec is bound to cause errors.

This is an attempt to fix that.
parent e1f97ce5
......@@ -24,7 +24,7 @@ class ReadKdeGlobals():
'/usr/share/color-schemes/Breeze.colors')
def read_globals(self, filename):
with open(filename, 'r') as _kde:
with open(filename, 'r', encoding="utf-8") as _kde:
for widget in ['Disabled', 'Inactive', 'Button', 'Selection',
'Tooltip', 'View', 'Window', 'WM']:
for line in _kde:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment