mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Move logging_config to game.
This isn't unique to the UI, the UI is just the current caller.
This commit is contained in:
parent
0c5e548892
commit
1717bc98cb
@ -2,7 +2,6 @@ import argparse
|
|||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import time
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
@ -13,7 +12,7 @@ from PySide2.QtGui import QPixmap
|
|||||||
from PySide2.QtWidgets import QApplication, QCheckBox, QSplashScreen
|
from PySide2.QtWidgets import QApplication, QCheckBox, QSplashScreen
|
||||||
from dcs.payloads import PayloadDirectories
|
from dcs.payloads import PayloadDirectories
|
||||||
|
|
||||||
from game import Game, VERSION, persistency
|
from game import Game, VERSION, logging_config, persistency
|
||||||
from game.campaignloader.campaign import Campaign, DEFAULT_BUDGET
|
from game.campaignloader.campaign import Campaign, DEFAULT_BUDGET
|
||||||
from game.data.weapons import Pylon, Weapon, WeaponGroup
|
from game.data.weapons import Pylon, Weapon, WeaponGroup
|
||||||
from game.dcs.aircrafttype import AircraftType
|
from game.dcs.aircrafttype import AircraftType
|
||||||
@ -27,7 +26,6 @@ from pydcs_extensions import load_mods
|
|||||||
from qt_ui import (
|
from qt_ui import (
|
||||||
liberation_install,
|
liberation_install,
|
||||||
liberation_theme,
|
liberation_theme,
|
||||||
logging_config,
|
|
||||||
uiconstants,
|
uiconstants,
|
||||||
)
|
)
|
||||||
from qt_ui.windows.GameUpdateSignal import GameUpdateSignal
|
from qt_ui.windows.GameUpdateSignal import GameUpdateSignal
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user