mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix lint issues
This commit is contained in:
parent
ad0d47c357
commit
18a0b95d29
@ -654,14 +654,13 @@ class ServerInstance:
|
||||
" backup shutdown enabled and server is currently backing up."
|
||||
)
|
||||
return
|
||||
# if not already running, let's just start
|
||||
if not self.check_running():
|
||||
self.run_threaded_server(user_id)
|
||||
else:
|
||||
# if not already running, let's just start
|
||||
if not self.check_running():
|
||||
self.run_threaded_server(user_id)
|
||||
else:
|
||||
self.stop_threaded_server()
|
||||
time.sleep(2)
|
||||
self.run_threaded_server(user_id)
|
||||
self.stop_threaded_server()
|
||||
time.sleep(2)
|
||||
self.run_threaded_server(user_id)
|
||||
|
||||
def cleanup_server_object(self):
|
||||
self.start_time = None
|
||||
|
Loading…
Reference in New Issue
Block a user