Skip to content

Commit 75648a5

Browse files
committed
StaticDir has to be a Path
1 parent de5c468 commit 75648a5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

girder_jsonforms/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ def igsn_text_search(query, types, user, level, limit, offset):
123123
for modelName in types:
124124
if modelName not in allowed:
125125
continue
126-
cursor = DepositionModel().find(query, fields=allowed[modelName] + ["public", "access"])
126+
cursor = DepositionModel().find(
127+
query, fields=allowed[modelName] + ["public", "access"]
128+
)
127129
results[modelName] = list(
128130
DepositionModel().filterResultsByPermission(
129131
cursor, user, level, limit=limit, offset=offset

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
name="girder-jsonforms",
1010
long_description=long_description,
1111
long_description_content_type="text/markdown",
12-
version="2.1.0",
12+
version="2.1.1",
1313
description="Girder plugin adding forms based on JSON-editor",
1414
packages=find_packages(),
1515
include_package_data=True,

0 commit comments

Comments
 (0)