fix(minor): revert force reloading of workspace
This commit is contained in:
parent
7fd6346bf8
commit
f8ea6ff9c6
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ def import_file_by_path(path, force=False, data_import=False, pre_process=None,
|
|||
if not force:
|
||||
# check if timestamps match
|
||||
db_modified = frappe.db.get_value(doc['doctype'], doc['name'], 'modified')
|
||||
if db_modified and doc.get('modified')==get_datetime_str(db_modified) and doc['doctype'] != 'Workspace':
|
||||
if db_modified and doc.get('modified')==get_datetime_str(db_modified):
|
||||
return False
|
||||
|
||||
original_modified = doc.get("modified")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue