diff --git a/util/data_object.py b/util/data_object.py index 6bbf2188d..73fed02c2 100644 --- a/util/data_object.py +++ b/util/data_object.py @@ -239,7 +239,7 @@ def id_from_path(ctx, path): :returns: Data object id """ - return genquery.Query(ctx,"DATA_ID", + return genquery.Query(ctx, "DATA_ID", "COLL_NAME = '%s' AND DATA_NAME = '%s'" % pathutil.chop(path)).first()