From cd74af88322cf208867b7dc8b8cd6f8b0fcef36e Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 30 Dec 2021 19:04:44 +0100 Subject: [PATCH] [core] Fix remove_bottle parameters --- legendary/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/core.py b/legendary/core.py index 88f0363..15b64de 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -1887,7 +1887,7 @@ class LegendaryCore: self.log.error(f'Failed to create symlink {_link} -> {target}: {e!r}') @staticmethod - def remove_bottle(self, bottle_name): + def remove_bottle(bottle_name): bottles_dir = os.path.expanduser('~/Library/Application Support/CrossOver/Bottles') path = os.path.join(bottles_dir, bottle_name) if os.path.exists(path):