[CogManagerUI] Resolve core path under bot._cog_mgr.CORE_PATH (#5142)

Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
Kreusada 2022-12-27 20:58:01 +00:00 committed by GitHub
parent d9dd37b867
commit abb0101420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ class CogManager:
bot directory. bot directory.
""" """
CORE_PATH = Path(redbot.cogs.__path__[0]) CORE_PATH = Path(redbot.cogs.__path__[0]).resolve()
def __init__(self): def __init__(self):
self.config = Config.get_conf(self, 2938473984732, True) self.config = Config.get_conf(self, 2938473984732, True)