mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-10-31 04:01:59 +01:00
ci: satisfy plugin branch quality gates
This commit is contained in:
1 parent
c0aeb89399
commit
9150264f49
6 files changed
+28
-34
No files matched your search
@@ -136,12 +136,9 @@ class PluginAPIEndpoints:
|
||||
else:
|
||||
delete_data = bool(raw)
|
||||
# JSON body optional
|
||||
try:
|
||||
body = self._json_body()
|
||||
if "delete_data" in body:
|
||||
delete_data = bool(body.get("delete_data"))
|
||||
except Exception:
|
||||
pass
|
||||
body = self._json_body()
|
||||
if "delete_data" in body:
|
||||
delete_data = bool(body.get("delete_data"))
|
||||
|
||||
def _uninstall():
|
||||
return self._client_or_raise().uninstall(plugin_id, delete_data=delete_data)
|
||||
|
||||
Reference in new issue
Block a user