Python: Fix Lock import
This commit is contained in:
parent
ddfbc4610d
commit
7a8a7ec7bb
|
@ -0,0 +1 @@
|
|||
.vscode/
|
|
@ -1,7 +1,7 @@
|
|||
import minimalmodbus
|
||||
import logging
|
||||
from flask import jsonify
|
||||
from threading import Semaphore
|
||||
from threading import Lock
|
||||
from time import sleep
|
||||
|
||||
class PingvinCoil():
|
||||
|
|
|
@ -6,7 +6,7 @@ import threading
|
|||
from waitress import serve
|
||||
|
||||
VERSION = "0.0.1"
|
||||
DEBUG = True
|
||||
DEBUG = False
|
||||
|
||||
## Logging configuration
|
||||
log = logging.getLogger(__name__)
|
||||
|
|
Loading…
Reference in New Issue