Skip to content

Commit a67a992

Browse files
committed
Fix bug with handoff get_capabilities as json
1 parent da23bb3 commit a67a992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tethys_apps/base/handoff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_capabilities(self, app_name=None, external_only=False, jsonify=False):
6565
handlers = [handler for handler in handlers if not handler.internal]
6666

6767
if jsonify:
68-
handlers = json.dumps([handler.__dict__ for handler in handlers])
68+
handlers = json.dumps([handler.__dict__() for handler in handlers])
6969

7070
return handlers
7171

0 commit comments

Comments
 (0)