Skip to content

Commit df40684

Browse files
committedMar 26, 2017
Codereview fixes
1 parent 1249a4f commit df40684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎manager/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from abc import ABCMeta, abstractmethod
22
from genericpath import exists
3-
from os.path import dirname
3+
from os.path import dirname, join
44
from shutil import copy
55

66
from manager.command import EditCommand, SshCommand, AbstractCommand
@@ -90,5 +90,5 @@ def get_contents(self):
9090
def _create_if_not_exists(self):
9191
if exists(self._file_path):
9292
return
93-
dist_file = dirname(__file__) + '/../resources/config-dist.json'
93+
dist_file = join(dirname(__file__), '..', 'resources', 'config-dist.json')
9494
copy(dist_file, self._file_path)

0 commit comments

Comments
 (0)
Please sign in to comment.