Flake 8 lint
This commit is contained in:
parent
7400272778
commit
52248bea1f
7 changed files with 7 additions and 11 deletions
|
@ -1,6 +1,5 @@
|
|||
from helpers.state_manager import StateManager
|
||||
from helpers.os_environment import isWindows, resolve_external_file_path
|
||||
from typing import List
|
||||
from setproctitle import setproctitle
|
||||
from multiprocessing import current_process, Queue
|
||||
from time import sleep
|
||||
|
@ -158,8 +157,6 @@ class FileManager:
|
|||
)
|
||||
)
|
||||
|
||||
|
||||
|
||||
except Exception as e:
|
||||
self.logger.log.exception(
|
||||
"Received unexpected exception: {}".format(e))
|
||||
|
|
|
@ -37,7 +37,7 @@ class LoggingManager:
|
|||
return
|
||||
|
||||
# Enable debug by default
|
||||
if (debug == None and package.BETA):
|
||||
if (debug is None and package.BETA):
|
||||
debug = True
|
||||
|
||||
self.logger.setLevel(logging.DEBUG if debug else logging.INFO)
|
||||
|
|
|
@ -1108,7 +1108,7 @@ class Player:
|
|||
|
||||
# We got a message.
|
||||
|
||||
## Check if we're successfully loaded
|
||||
# Check if we're successfully loaded
|
||||
# This is here so that we can check often, but not every single loop
|
||||
# Only when user gives input.
|
||||
self._checkIsLoaded()
|
||||
|
|
|
@ -255,7 +255,6 @@ class WebsocketServer:
|
|||
"Exception trying to send to websocket:", e
|
||||
)
|
||||
|
||||
|
||||
self.quit()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue