searx: Fix typo in method name

Tests:

- Uninstall of searx works.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2023-06-16 11:16:13 -04:00
1 parent 85bfe40c87
commit b47ea8346b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ class SearxApp(app_module.App):
def uninstall(self):
"""De-configure and uninstall the app."""
super().uninstall()
privileged.unininstall()
privileged.uninstall()
class SearxWebserverAuth(Webserver):
+1 -1
View File
@@ -156,7 +156,7 @@ def disable_public_access():
@privileged
def unininstall():
def uninstall():
"""Remove configuration uWSGI file."""
shutil.rmtree('/etc/searx', ignore_errors=True)
pathlib.Path(UWSGI_FILE).unlink(missing_ok=True)