mirror of
https://github.com/gryf/boxpy.git
synced 2025-12-19 21:47:59 +01:00
Fix for missing default config.
This commit is contained in:
2
box.py
2
box.py
@@ -454,6 +454,8 @@ class Config:
|
|||||||
for key, val in conf['boxpy_data'].items():
|
for key, val in conf['boxpy_data'].items():
|
||||||
setattr(self, key, str(val))
|
setattr(self, key, str(val))
|
||||||
|
|
||||||
|
self._conf = conf
|
||||||
|
|
||||||
def _normalize_name(self):
|
def _normalize_name(self):
|
||||||
name = self.name.replace(' ', '-')
|
name = self.name.replace(' ', '-')
|
||||||
name = name.encode('ascii', errors='ignore')
|
name = name.encode('ascii', errors='ignore')
|
||||||
|
|||||||
Reference in New Issue
Block a user