mirror of
https://github.com/frappe/frappe.git
synced 2024-06-12 23:32:23 +00:00
fix: we want DF.Literal[None]
, not DF.LiteralNone
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
4fe61d5158
commit
18961172f6
|
@ -183,7 +183,7 @@ class TypeExporter:
|
|||
elif field.fieldtype == "Select":
|
||||
if not field.options:
|
||||
# Could be dynamic
|
||||
return "None"
|
||||
return "[None]"
|
||||
options = [o.strip() for o in field.options.split("\n")]
|
||||
return json.dumps(options)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user