X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FConfig.py;h=c1dbe70f8af3403cb7e7be0675b72eb6097b8a14;hb=9b8d2cfc79d4b4f7b0657705dbde0eed82760ce5;hp=bfe80af2f797e911ab5d1a72a5a4cfed95145472;hpb=db8ba854c7112713f58030b57524251d8d5fd5c0;p=plcapi.git diff --git a/PLC/Config.py b/PLC/Config.py index bfe80af..c1dbe70 100644 --- a/PLC/Config.py +++ b/PLC/Config.py @@ -6,8 +6,6 @@ # 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 $ -# import os import sys @@ -35,7 +33,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 + ", " + \