X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fplc%2Fapi.py;fp=sfa%2Fplc%2Fapi.py;h=ddca04d7e0296fffc3e38bedc7c81eaeff783eb4;hb=7589ec31d8da02c52e1a667c0c2e062ac9519548;hp=0ceed7c57ccf20155863aa0485c4cec39d56976d;hpb=4fb0a4e3b6324192ddfc0bfe7b5a0de06f0d3b57;p=sfa.git diff --git a/sfa/plc/api.py b/sfa/plc/api.py index 0ceed7c5..ddca04d7 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -636,7 +636,7 @@ class ComponentAPI(BaseAPI): """ path = self.config.SFA_DATA_DIR config_dir = self.config.config_path - credfile = path + os.sep + 'node.cred' + cred_filename = path + os.sep + 'node.cred' try: credential = Credential(filename = cred_filename) return credential.save_to_string(save_parents=True)