Skip to content

Commit

Permalink
return sid instead of raise error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tw1sm committed May 17, 2022
1 parent 1149eb3 commit f3e456e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modifyCertTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def resolve_sid(self, sid):
self.cached_sids[sid] = f'{domain}\\{name}'
return f'{domain}\\{name}'

raise KeyError
return sid

def get_domain_from_sid(self, sid):
try:
Expand Down

0 comments on commit f3e456e

Please sign in to comment.