code/superant.com.rwdtorrent/loadconfigurationvariables.rb in rwdtorrent-0.05 vs code/superant.com.rwdtorrent/loadconfigurationvariables.rb in rwdtorrent-0.06
- old
+ new
@@ -1,8 +1,9 @@
# this method loads the on screen variables into the running class
def loadrwdtorrentconfigurationvariables
-
- configfiletoload = File.join(ConfigurationDir,"rwdtorrent.cnf")
+
+ tmpfilename = "rwdwtorrent-" + RwdTorrentVersion + ".cnf"
+ configfiletoload = File.join(ConfigurationDir, tmpfilename)
begin
load configfiletoload
@extratorrentconfigdatadisplay = ""
@newtorrentconfigurationresult = "Config Variables loaded"
rescue