From f8ea6ff9c6843dc92733d68961359dda4d1e3b4b Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 12 Jan 2021 13:34:20 +0530 Subject: [PATCH] fix(minor): revert force reloading of workspace --- frappe/modules/import_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/modules/import_file.py b/frappe/modules/import_file.py index 2e079898eb..5970eae5ca 100644 --- a/frappe/modules/import_file.py +++ b/frappe/modules/import_file.py @@ -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")