mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Make some paths cross-platform compatible (#1543)
* Make some paths cross-platform compatible * Fix lint error for Path
This commit is contained in:
@@ -104,7 +104,7 @@ class Campaign:
|
||||
|
||||
|
||||
def load_campaigns() -> List[Campaign]:
|
||||
campaign_dir = Path("resources\\campaigns")
|
||||
campaign_dir = Path("resources/campaigns")
|
||||
campaigns = []
|
||||
for path in campaign_dir.glob("*.json"):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user