Skip to content

Commit f44c2e6

Browse files
committed
BUGFIX:
- Non-scheduler-managed servers were not auto-started again after a DCS update.
1 parent fa65c8a commit f44c2e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/data/maintenance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def __aexit__(self, exc_type, exc_value, traceback):
4949
for server in self.to_start:
5050
if server not in self.in_maintenance:
5151
server.maintenance = False
52-
elif self.shutdown:
52+
if self.shutdown:
5353
tasks.append(server.startup())
5454

5555
if tasks:

plugins/admin/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from plugins.scheduler.views import ConfigView
2121
from services.bot import DCSServerBot
2222
from services.modmanager import ModManagerService
23-
from typing import Literal, Type
23+
from typing import Literal
2424
from zipfile import ZipFile, ZIP_DEFLATED
2525

2626
# ruamel YAML support

plugins/mission/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2445,7 +2445,7 @@ async def handle_miz_uploads(self, message: discord.Message):
24452445
return
24462446
# check if upload is enabled
24472447
if not config.get('enabled', True):
2448-
self.log.debug("Mission upload is disabled!")
2448+
self.log.warning("Mission upload is disabled!")
24492449
return
24502450

24512451
# check if we are in the correct channel

0 commit comments

Comments
 (0)