cleanup for using the config dir properly, and not an hard-wired ~/.sfi/
[sface.git] / sface / sfiprocess.py
index f794c63..e06bf9a 100644 (file)
@@ -89,7 +89,7 @@ class SfiProcess(QObject):
     def __getRSpec(self, mgr):
         slice = config.getSlice()
         # Write RSpec to file for testing.
     def __getRSpec(self, mgr):
         slice = config.getSlice()
         # Write RSpec to file for testing.
-        filename = os.path.expanduser("~/.sfi/" + slice + ".rspec")
+        filename = config.fullpath ("%s.rspec"%slice)
         try:
             os.remove(filename)
         except:
         try:
             os.remove(filename)
         except: