From a2655aa910366ca2dfdb7afe87147d4e20d01412 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Sun, 28 Sep 2003 09:26:23 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2374 --- tools/dbcheck_files_exist | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/dbcheck_files_exist b/tools/dbcheck_files_exist index 7a0f1cfe8c..1a9ec84863 100755 --- a/tools/dbcheck_files_exist +++ b/tools/dbcheck_files_exist @@ -1,12 +1,14 @@ #!/usr/bin/env python import os, re, boinc_path_config -from Boinc import database, db_mid, boinc_db - -def get_file_path(wu): - return re.search('(.*)',wu.xml_doc).group(1) +from Boinc import database, db_mid, boinc_db, configxml database.connect() +config = configxml.default_config().config + +def get_file_path(wu): + return os.path.join(config.upload_dir, + re.search('(.*)',wu.xml_doc).group(1)) print "Checking for missing input files ...\n"