aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-07-01 01:26:12 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2017-07-01 01:26:12 +0900
commit1b809f0ba5cb56a575cb4d6947123b7ea5e29ab3 (patch)
tree8928fa236338bec2363767681d0cc29bf94aba38
parentupdated version help text (diff)
downloadelivepatch-1b809f0ba5cb56a575cb4d6947123b7ea5e29ab3.tar.gz
elivepatch-1b809f0ba5cb56a575cb4d6947123b7ea5e29ab3.tar.bz2
elivepatch-1b809f0ba5cb56a575cb4d6947123b7ea5e29ab3.zip
using os.path.join instead of sticking variable together
-rw-r--r--elivepatch_client/client/checkers.py2
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')