cleanup for using the config dir properly, and not an hard-wired ~/.sfi/
[sface.git] / sface / sfirenew.py
index 863b253..17cd8d6 100644 (file)
@@ -44,7 +44,7 @@ class SfiRenewer(QObject):
 
     def finishedUpdateRecord(self):
         # we have to force sfi.py to download an updated slice credential
-        sliceCredName = os.path.expanduser("~/.sfi/slice_" + self.hrn.split(".")[-1] + ".cred")
+        sliceCredName = config.fullpath("slice_" + self.hrn.split(".")[-1] + ".cred")
         if os.path.exists(sliceCredName):
             os.remove(sliceCredName)