Skip to content

Commit

Permalink
add double quote
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgn committed Jun 30, 2024
1 parent aab22cf commit ce31e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_host_addr_info(target, force_ipv6, dns_server, dns_tcp, dns_timeout):
def requires_admin(func):
def _decorator(self, *args, **kwargs):
if self.admin_privs is False:
if hasattr(self.args, 'exec_method') and self.args.exec_method == "mmcexec":
if hasattr(self.args, "exec_method") and self.args.exec_method == "mmcexec":
return func(self, *args, **kwargs)
return None
return func(self, *args, **kwargs)
Expand Down

0 comments on commit ce31e24

Please sign in to comment.