runtime/PLCObject.py
changeset 391 9b1801ef99b5
parent 368 86ecd8374dae
child 398 31d08063b5d6
--- a/runtime/PLCObject.py	Fri Sep 18 14:30:57 2009 +0200
+++ b/runtime/PLCObject.py	Fri Sep 18 14:58:22 2009 +0200
@@ -212,7 +212,7 @@
         
         for filename in os.listdir(self.workingdir):
             name, ext = os.path.splitext(filename)
-            if name.startswith("runtime") and ext == ".py":
+            if name.upper().startswith("RUNTIME") and ext.upper() == ".PY":
                 try:
                     # TODO handle exceptions in runtime.py
                     # pyfile may redefine _runtime_cleanup