From c735d846ee90854796a650bb411db6f4da5e4abf Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Wed, 14 Mar 2012 22:39:46 +0000 Subject: [PATCH] The default temporary directory as to stay as is, do not touch this code snippet anymore please --- plugins/generic/misc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/generic/misc.py b/plugins/generic/misc.py index b42ac91f0..4942270af 100644 --- a/plugins/generic/misc.py +++ b/plugins/generic/misc.py @@ -45,10 +45,10 @@ class Miscellaneous: if Backend.getOsVersion() in ("2000", "NT"): conf.tmpPath = "C:/WINNT/Temp" - elif Backend.getOsVersion() in ("2003", "XP"): - conf.tmpPath = "C:/Documents and Settings/All Users/Application Data/TEMP" + elif Backend.isOs("XP"): + conf.tmpPath = "C:/Documents and Settings/All Users/Application Data" else: - conf.tmpPath = "C:/Users/All Users/Application Data/TEMP" + conf.tmpPath = "C:/Windows/Temp" else: conf.tmpPath = "/tmp"