Skip to content

Commit

Permalink
update Ambex machine setup
Browse files Browse the repository at this point in the history
  • Loading branch information
MAKOMO committed Oct 31, 2023
1 parent 9474815 commit 95a2a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/artisanlib/weblcds.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, port:int, resource_path:str, nonesymbol:str, timecolor:str, t
self._loop: Optional[asyncio.AbstractEventLoop] = None # the asyncio loop
self._thread: Optional[Thread] = None # the thread running the asyncio loop
self._app = web.Application(debug=True)
self._app['websockets']:weakref.WeakSet[web.WebSocketResponse] = weakref.WeakSet()
self._app['websockets'] = weakref.WeakSet()
self._app.on_shutdown.append(self.on_shutdown)

self._last_send:float = time.time() # timestamp of the last message send to the clients
Expand Down
2 changes: 1 addition & 1 deletion src/includes/Machines/Ambex/YM.aset
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ input2code=3
input2div=0
input2float=true
input2mode=F
input2register=440
input2register=450
input2slave=1
input3FloatsAsInt=false
input3bcd=false
Expand Down

0 comments on commit 95a2a37

Please sign in to comment.