Skip to content

Commit

Permalink
feat: revert "fix: avoid duplicate adapter entries (#259)" (#290)
Browse files Browse the repository at this point in the history
This reverts commit 8d74386.
  • Loading branch information
hsluoyz authored Mar 7, 2023
1 parent aba753d commit b573041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casbin/persist/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def load_policy_line(line, model):
if key not in model.model[sec].keys():
return

model.add_policy(sec, key, tokens[1:])
model.model[sec][key].policy.append(tokens[1:])


class Adapter:
Expand Down

0 comments on commit b573041

Please sign in to comment.