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,6 +10,6 @@ class EmFieldBool(EmField):
10 10
     ## @brief A char field
11 11
     # @brief max_length int : The maximum length of this field
12 12
     def __init__(self, **kwargs):
13
-        super(EmFieldChar, self).__init__(**kwargs)
13
+        super(EmFieldBool, self).__init__(**kwargs)
14 14
 
15 15
 fclass=EmFieldBool

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

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

Loading…
Cancel
Save