Skip to content

Commit

Permalink
Fix (again) detection of extension in local mode.
Browse files Browse the repository at this point in the history
Thanks to Magnus Hagander for the report.
  • Loading branch information
rjuju committed Apr 20, 2021
1 parent a54fdc5 commit 60efdb3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions powa/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,8 @@ def has_extension(self, srvid, extname):
if (srvid == '0' or srvid == 0):
# if local server, fallback to the full test, as it won't be more
# expensive
return (self.has_extension_version(srvid, extname, '0',
return self.has_extension_version(srvid, extname, '0',
remote_access=False)
is not None)
else:
try:
# Look for at least an enabled snapshot function. If a module
Expand Down

0 comments on commit 60efdb3

Please sign in to comment.