From db8ba854c7112713f58030b57524251d8d5fd5c0 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Wed, 6 Sep 2006 19:15:59 +0000 Subject: [PATCH] fix error message --- PLC/Config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PLC/Config.py b/PLC/Config.py index 7d666b32..bfe80af2 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$ +# $Id: Config.py,v 1.1 2006/09/06 15:36:06 mlhuang Exp $ # import os @@ -39,7 +39,7 @@ class Config: except: raise PLCAPIError("Could not find plc_config in " + \ file + ", " + \ - myplc + "plc_config") + myplc + os.sep + "plc_config") class XMLConfig: """ @@ -64,7 +64,7 @@ class XMLConfig: except: raise PLCAPIError("Could not find plc_config.xml in " + \ file + ", " + \ - myplc + "plc_config.xml") + myplc + os.sep + "plc_config.xml") for (category, variablelist) in cfg.variables().values(): for variable in variablelist.values(): -- 2.47.0