We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9bf314 commit d384c8fCopy full SHA for d384c8f
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