mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Fix remove_bottle parameters
This commit is contained in:
parent
0f481e1f31
commit
cd74af8832
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue