Skip to content

Commit 7519ce4

Browse files
committed
fix empty tuple initialisation
1 parent adbe112 commit 7519ce4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

casbin_adapter/enforcer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _load(self):
2222
model = getattr(settings, 'CASBIN_MODEL')
2323
enable_log = getattr(settings, 'CASBIN_LOG_ENABLED', False)
2424
adapter_loc = getattr(settings, 'CASBIN_ADAPTER', 'casbin_adapter.adapter.Adapter')
25-
adapter_args = getattr(settings, 'CASBIN_ADAPTER_ARGS', (,))
25+
adapter_args = getattr(settings, 'CASBIN_ADAPTER_ARGS', tuple())
2626
Adapter = import_class(adapter_loc)
2727
adapter = adapter_class(*adapter_args)
2828

0 commit comments

Comments
 (0)