We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f3ce1c6 + d384c8f commit cccf2b5Copy full SHA for cccf2b5
rtmbot/core.py
@@ -34,7 +34,7 @@ def __init__(self, config):
34
working_directory = os.path.abspath(os.path.dirname(sys.argv[0]))
35
self.directory = self.config.get('BASE_PATH', working_directory)
36
if not self.directory.startswith('/'):
37
- path = '{}/{}'.format(os.getcwd(), self.directory)
+ path = os.path.join(os.getcwd(), self.directory)
38
self.directory = os.path.abspath(path)
39
40
# establish logging
0 commit comments