Selaa lähdekoodia

Fixed the init of Field_Data_Handler

Roland Haroutiounian 9 vuotta sitten
vanhempi
commit
4ba90eabfe
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      lodel/leapi/datahandlers/field_data_handler.py

+ 1
- 1
lodel/leapi/datahandlers/field_data_handler.py Näytä tiedosto

@@ -15,7 +15,7 @@ class FieldDataHandler(object):
15 15
     # @param **args
16 16
     # @throw NotImplementedError if it is instanciated directly
17 17
     def __init__(self, internal=False, immutable=False, **args):
18
-        if self.__class__ == GenericFieldType:
18
+        if self.__class__ == FieldDataHandler:
19 19
             raise NotImplementedError("Abstract class")
20 20
 
21 21
         self.internal = internal  # Check this value ?

Loading…
Peruuta
Tallenna