From 36a794134cc665de61d513a33f60fd015aead323 Mon Sep 17 00:00:00 2001 From: Aivar Annamaa Date: Sat, 14 May 2022 20:45:25 +0300 Subject: [PATCH] Fix problem uninstalling MicroPython packages --- CHANGELOG.rst | 1 + thonny/plugins/micropython/mp_back.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b12f46299..e10fcbc9b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,7 @@ Version history * Fix support for remote Python 3 over SSH (regression introduced in one of the 4.0.0 betas), #2249 * Support CircuitPython with micro:bit, #2251 * Avoid wobbling of AutomaticScrollbar, helpful report by @TooLazy0x00, #2258 +* Fix problem uninstalling MicroPython packages * Updated Estonian, Thai and Brazilian Portuguese translations 4.0.0b2 (2022-04-09) diff --git a/thonny/plugins/micropython/mp_back.py b/thonny/plugins/micropython/mp_back.py index 1160c9507..7669f9224 100644 --- a/thonny/plugins/micropython/mp_back.py +++ b/thonny/plugins/micropython/mp_back.py @@ -911,7 +911,6 @@ def _cmd_install_distributions(self, cmd): return {"distributions": new_state} def _cmd_uninstall_distributions(self, cmd): - assert not any([arg.startswith("-") for arg in cmd.args]) try: new_state = self._perform_pipkin_operation_and_list( command="uninstall", packages=cmd.args, yes=True