Merge pull request #10098 from frappe/michellealva-patch-1
This commit is contained in:
commit
8e772277bb
1 changed files with 1 additions and 1 deletions
|
|
@ -696,7 +696,7 @@ def remove_file(fid=None, attached_to_doctype=None, attached_to_name=None, from_
|
|||
|
||||
|
||||
def get_max_file_size():
|
||||
return conf.get('max_file_size') or 10485760
|
||||
return cint(conf.get('max_file_size')) or 10485760
|
||||
|
||||
|
||||
def remove_all(dt, dn, from_delete=False):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue