Skip to content

Commit

Permalink
add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 committed Feb 18, 2023
1 parent f8df1a7 commit 50a2147
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pymodbus/server/simulator/http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import json
import os
from time import time
from typing import List


try:
Expand Down Expand Up @@ -176,7 +177,7 @@ def __init__(
with open(file, encoding="utf-8") as handle:
self.generator_html[entry][0] = handle.read()
self.refresh_rate = 0
self.register_filter = []
self.register_filter: List[int] = []
self.call_list = []
self.call_monitor = CallTypeMonitor()
self.call_response = CallTypeResponse()
Expand Down

0 comments on commit 50a2147

Please sign in to comment.