Skip to content

Commit f79462d

Browse files
committed
Modified method name for transaction log
1 parent 4a16355 commit f79462d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/services and logs example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def ErrorHandler(err):
9191
# Get Event Log from Kepware instance.
9292
# Time parameters need to be UTC values.
9393
try:
94-
print("{} - {}".format("Here is the last Event Log Entry", json.dumps(server.get_event_log(1, None, None), indent=4)))
94+
print("{} - {}".format("Here is the last Event Log Entry", json.dumps(server.get_event_log(1), indent=4)))
9595
except Exception as err:
9696
ErrorHandler(err)
9797
try:
@@ -101,7 +101,7 @@ def ErrorHandler(err):
101101

102102
#Get Configuration API Transaction Log
103103
try:
104-
print("{} - {}".format("Here is the last API Transaction Log Entry", json.dumps(server.get_trans_log(1, None, None), indent=4)))
104+
print("{} - {}".format("Here is the last API Transaction Log Entry", json.dumps(server.get_transaction_log(1), indent=4)))
105105
except Exception as err:
106106
ErrorHandler(err)
107107

0 commit comments

Comments
 (0)