From 3a0125522a0a9f72be9f1b520992199233141a90 Mon Sep 17 00:00:00 2001 From: tamilarasi-t12 Date: Wed, 4 Dec 2024 20:58:38 +0530 Subject: [PATCH] Fix #119: Reverting the previous commit changes --- framework/core/remoteControllerModules/keySimulator.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/framework/core/remoteControllerModules/keySimulator.py b/framework/core/remoteControllerModules/keySimulator.py index 889d946..3266061 100644 --- a/framework/core/remoteControllerModules/keySimulator.py +++ b/framework/core/remoteControllerModules/keySimulator.py @@ -32,7 +32,6 @@ import subprocess from framework.core.logModule import logModule from framework.core.commandModules.sshConsole import sshConsole -from framework.core.rcCodes import rcCode as rc class KeySimulator: @@ -58,11 +57,11 @@ def __init__(self, log: logModule, remoteConfig: dict): ) - def sendKey(self, key: rc, repeat: int , delay: int ): + def sendKey(self, key: str, repeat: int , delay: int ): """Send a key command with specified repeats and interval. Args: - key (rc): The key to send. + key (str): The key to send. repeat (int): Number of times to send the key. delay (int): Delay between key presses in seconds.