[core] Fix remove_bottle parameters

This commit is contained in:
derrod 2021-12-30 19:04:44 +01:00
parent 0f481e1f31
commit cd74af8832

View file

@ -1887,7 +1887,7 @@ class LegendaryCore:
self.log.error(f'Failed to create symlink {_link} -> {target}: {e!r}') self.log.error(f'Failed to create symlink {_link} -> {target}: {e!r}')
@staticmethod @staticmethod
def remove_bottle(self, bottle_name): def remove_bottle(bottle_name):
bottles_dir = os.path.expanduser('~/Library/Application Support/CrossOver/Bottles') bottles_dir = os.path.expanduser('~/Library/Application Support/CrossOver/Bottles')
path = os.path.join(bottles_dir, bottle_name) path = os.path.join(bottles_dir, bottle_name)
if os.path.exists(path): if os.path.exists(path):