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

Commit

Permalink
Fix up another unix-path-ism
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasumoto committed Aug 26, 2016
1 parent a9bf314 commit d384c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtmbot/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, config):
working_directory = os.path.abspath(os.path.dirname(sys.argv[0]))
self.directory = self.config.get('BASE_PATH', working_directory)
if not self.directory.startswith('/'):
path = '{}/{}'.format(os.getcwd(), self.directory)
path = os.path.join(os.getcwd(), self.directory)
self.directory = os.path.abspath(path)

# establish logging
Expand Down

0 comments on commit d384c8f

Please sign in to comment.