Skip to content

Commit

Permalink
Fix #119: Reverting the previous commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tamilarasi-t12 committed Dec 4, 2024
1 parent 01cd9c6 commit 3a01255
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions framework/core/remoteControllerModules/keySimulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down

0 comments on commit 3a01255

Please sign in to comment.