We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fbb3e8 commit e32a20aCopy full SHA for e32a20a
1 file changed
lib/lichess_bot.py
@@ -71,7 +71,7 @@ class VersioningType(TypedDict):
71
72
logger = logging.getLogger(__name__)
73
74
-with open("lib/versioning.yml") as version_file:
+with open(os.path.join(os.path.dirname(__file__), "versioning.yml")) as version_file:
75
versioning_info: VersioningType = yaml.safe_load(version_file)
76
77
__version__ = versioning_info["lichess_bot_version"]
0 commit comments