Skip to content

Commit

Permalink
fix: compatible with new pycasbin (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotoxin committed Aug 2, 2022
1 parent a2152d4 commit 9cea17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casbin_adapter/enforcer.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _load(self):
Adapter = import_class(adapter_loc)
adapter = Adapter(*adapter_args)

super().__init__(model, adapter, enable_log)
super().__init__(model, adapter)
logger.debug("Casbin enforcer initialised")

watcher = getattr(settings, "CASBIN_WATCHER", None)
Expand Down

0 comments on commit 9cea17d

Please sign in to comment.