Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Commit cccf2b5

Browse files
authored
Merge pull request #60 from slackhq/yasumoto-final-windows-fix
Fix up another unix-path-ism
2 parents f3ce1c6 + d384c8f commit cccf2b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtmbot/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, config):
3434
working_directory = os.path.abspath(os.path.dirname(sys.argv[0]))
3535
self.directory = self.config.get('BASE_PATH', working_directory)
3636
if not self.directory.startswith('/'):
37-
path = '{}/{}'.format(os.getcwd(), self.directory)
37+
path = os.path.join(os.getcwd(), self.directory)
3838
self.directory = os.path.abspath(path)
3939

4040
# establish logging

0 commit comments

Comments
 (0)