From: Mark Huang Date: Tue, 31 Oct 2006 21:48:10 +0000 (+0000) Subject: - try in myplc directory X-Git-Tag: pycurl-7_13_1~404 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6b6d5d2a4a89bd99fb91fa83c1e081d53824e27c;p=plcapi.git - try in myplc directory --- diff --git a/PLC/Config.py b/PLC/Config.py index bfe80af2..97233f0c 100644 --- a/PLC/Config.py +++ b/PLC/Config.py @@ -6,7 +6,7 @@ # Mark Huang # Copyright (C) 2004-2006 The Trustees of Princeton University # -# $Id: Config.py,v 1.1 2006/09/06 15:36:06 mlhuang Exp $ +# $Id: Config.py,v 1.2 2006/09/06 19:15:59 mlhuang Exp $ # import os @@ -35,7 +35,7 @@ class Config: except: # Try myplc directory try: - execfile(file, self.__dict__) + execfile(myplc + os.sep + "plc_config", self.__dict__) except: raise PLCAPIError("Could not find plc_config in " + \ file + ", " + \