From d384c8fda5678d1e53149545b6b35c7efe49eecd Mon Sep 17 00:00:00 2001 From: Joe Smith Date: Thu, 25 Aug 2016 19:14:15 -0700 Subject: [PATCH] Fix up another unix-path-ism --- rtmbot/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtmbot/core.py b/rtmbot/core.py index 84ad838..86e17f6 100755 --- a/rtmbot/core.py +++ b/rtmbot/core.py @@ -34,7 +34,7 @@ class RtmBot(object): 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