mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Fixed some bugs
This commit is contained in:
parent
fafce78e68
commit
871e04fb03
4 changed files with 32 additions and 15 deletions
|
@ -66,14 +66,15 @@ parser.add_option("-c",
|
|||
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
FORMAT="%(asctime)s - %(name)s - %(levelname)s : %(message)s"
|
||||
|
||||
FORMAT = "%(asctime)s - %(name)s - %(levelname)s : %(message)s"
|
||||
if options.debug:
|
||||
logging.basicConfig(level=logging.DEBUG,format=FORMAT)
|
||||
options.verbose=True
|
||||
logging.basicConfig(level=logging.DEBUG, format=FORMAT)
|
||||
options.verbose = True
|
||||
elif options.verbose:
|
||||
logging.basicConfig(level=logging.INFO,format=FORMAT)
|
||||
logging.basicConfig(level=logging.INFO, format=FORMAT)
|
||||
else:
|
||||
logging.basicConfig(level=logging.WARNING,format=FORMAT)
|
||||
logging.basicConfig(level=logging.WARNING, format=FORMAT)
|
||||
|
||||
try:
|
||||
from websockify import WebSocketProxy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue