|
@@ -69,7 +69,6 @@ def get_value(doctype, fieldname, filters=None, as_dict=True, debug=False): |
|
|
fieldname = json.loads(fieldname) |
|
|
fieldname = json.loads(fieldname) |
|
|
except (TypeError, ValueError): |
|
|
except (TypeError, ValueError): |
|
|
# name passed, not json |
|
|
# name passed, not json |
|
|
fieldname = "name" |
|
|
|
|
|
pass |
|
|
pass |
|
|
|
|
|
|
|
|
# check whether the used filters were really parseable and usable |
|
|
# check whether the used filters were really parseable and usable |
|
|