mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2025-08-17 16:25:36 +00:00
Refactoring
This commit is contained in:
parent
9518fcad11
commit
aab20c17a1
@ -18,14 +18,12 @@ run = True
|
||||
|
||||
|
||||
def main():
|
||||
global run
|
||||
from core import Core
|
||||
core = Core()
|
||||
while run:
|
||||
try:
|
||||
core.start()
|
||||
except KeyboardInterrupt:
|
||||
run = False
|
||||
core.run = False
|
||||
core.stop()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user