Browse Source

Bugfix in Reference DataHandler instanciation

**kwargs was not given to super() constructor
Yann Weber 8 years ago
parent
commit
32e2579350
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lodel/leapi/datahandlers/base_classes.py

+ 1
- 1
lodel/leapi/datahandlers/base_classes.py View File

@@ -343,7 +343,7 @@ class Reference(DataHandler):
343 343
 class SingleRef(Reference):
344 344
 
345 345
     def __init__(self, allowed_classes=None, **kwargs):
346
-        super().__init__(allowed_classes=allowed_classes)
346
+        super().__init__(allowed_classes=allowed_classes, **kwargs)
347 347
 
348 348
 
349 349
     ##@brief Check and cast value in appropriate type

Loading…
Cancel
Save