runtime/PLCObject.py
changeset 3861 7e17f7e02a2b
parent 3578 d74eb1be6abe
child 3881 0b3ac94f494c
--- a/runtime/PLCObject.py	Fri Nov 24 12:16:19 2023 +0100
+++ b/runtime/PLCObject.py	Wed Nov 29 11:54:56 2023 +0100
@@ -29,6 +29,7 @@
 import sys
 import traceback
 import shutil
+import platform as platform_module
 from time import time
 import hashlib
 from tempfile import mkstemp
@@ -811,3 +812,7 @@
             return (-1, "RemoteExec script failed!\n\nLine %d: %s\n\t%s" %
                     (line_no, e_value, script.splitlines()[line_no - 1]))
         return (0, kwargs.get("returnVal", None))
+
+    def GetVersions(self):
+        return platform_module.system() + " " + platform_module.release()
+