Merge pull request #60 from slackhq/yasumoto-final-windows-fix
Fix up another unix-path-ism
This commit is contained in:
commit
cccf2b5bc5
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class RtmBot(object):
|
||||||
working_directory = os.path.abspath(os.path.dirname(sys.argv[0]))
|
working_directory = os.path.abspath(os.path.dirname(sys.argv[0]))
|
||||||
self.directory = self.config.get('BASE_PATH', working_directory)
|
self.directory = self.config.get('BASE_PATH', working_directory)
|
||||||
if not self.directory.startswith('/'):
|
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)
|
self.directory = os.path.abspath(path)
|
||||||
|
|
||||||
# establish logging
|
# establish logging
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue