Browse Source

Bufixes in fieldtypes

Yann Weber 9 years ago
parent
commit
00b2efda0d
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      EditorialModel/fieldtypes/bool.py
  2. 1
    1
      EditorialModel/fieldtypes/file.py

+ 1
- 1
EditorialModel/fieldtypes/bool.py View File

10
     ## @brief A char field
10
     ## @brief A char field
11
     # @brief max_length int : The maximum length of this field
11
     # @brief max_length int : The maximum length of this field
12
     def __init__(self, **kwargs):
12
     def __init__(self, **kwargs):
13
-        super(EmFieldChar, self).__init__(**kwargs)
13
+        super(EmFieldBool, self).__init__(**kwargs)
14
 
14
 
15
 fclass=EmFieldBool
15
 fclass=EmFieldBool

+ 1
- 1
EditorialModel/fieldtypes/file.py View File

11
     # @brief max_length int : The maximum length of this field
11
     # @brief max_length int : The maximum length of this field
12
     def __init__(self, upload_path = None,**kwargs):
12
     def __init__(self, upload_path = None,**kwargs):
13
         self.upload_path = upload_path
13
         self.upload_path = upload_path
14
-        super(EmFieldChar, self).__init__(**kwargs)
14
+        super(EmFieldFile, self).__init__(**kwargs)
15
 
15
 
16
 fclass=EmFieldFile
16
 fclass=EmFieldFile

Loading…
Cancel
Save