Skip to content

Commit 82d8b08

Browse files
committed
Call syntax
1 parent ac52b89 commit 82d8b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

voltron/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __getitem__(self, key):
3434
except Exception as e:
3535
print("Exception reading memory: {}".format(repr(e)))
3636

37-
def cmd(self, command):
37+
def __call__(self, command):
3838
try:
3939
res = self.perform_request('command', command=command)
4040
if res.is_success:

0 commit comments

Comments
 (0)