1
0
mirror of https://github.com/gryf/boxpy.git synced 2025-12-18 21:10:17 +01:00

Fix for missing default config.

This commit is contained in:
2021-07-05 20:00:38 +02:00
parent 322e50a8f9
commit 11e3c033c1

2
box.py
View File

@@ -454,6 +454,8 @@ class Config:
for key, val in conf['boxpy_data'].items():
setattr(self, key, str(val))
self._conf = conf
def _normalize_name(self):
name = self.name.replace(' ', '-')
name = name.encode('ascii', errors='ignore')