diff options
author | Alice Ferrazzi <alicef@gentoo.org> | 2017-07-01 01:26:12 +0900 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2017-07-01 01:26:12 +0900 |
commit | 1b809f0ba5cb56a575cb4d6947123b7ea5e29ab3 (patch) | |
tree | 8928fa236338bec2363767681d0cc29bf94aba38 /elivepatch_client/client | |
parent | updated version help text (diff) | |
download | elivepatch-1b809f0ba5cb56a575cb4d6947123b7ea5e29ab3.tar.gz elivepatch-1b809f0ba5cb56a575cb4d6947123b7ea5e29ab3.tar.bz2 elivepatch-1b809f0ba5cb56a575cb4d6947123b7ea5e29ab3.zip |
using os.path.join instead of sticking variable together
Diffstat (limited to 'elivepatch_client/client')
-rw-r--r-- | elivepatch_client/client/checkers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elivepatch_client/client/checkers.py b/elivepatch_client/client/checkers.py index 15eda29..8ad0767 100644 --- a/elivepatch_client/client/checkers.py +++ b/elivepatch_client/client/checkers.py @@ -45,7 +45,7 @@ class Kernel(object): f_action = FileAction(path, file) path, file = f_action.ungz() # if the file is .gz the configuration path is the tmp folder uncompressed config file - self.config = path +'/'+file + self.config = os.path.join(path,file) rest_manager = restful.ManaGer(url) # we are sending only uncompressed configuration files rest_manager.send_file(self.config, file, '/elivepatch/api/v1.0/config') |