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