mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71e22bdb21 | ||
|
|
3c2025ab44 | ||
|
|
d314e22970 |
@@ -1 +1 @@
|
||||
py.exe __init__.py "C:\Users\shdwp" > logs.txt 2>&1
|
||||
py.exe __init__.py %UserProfile% > logs.txt 2>&1
|
||||
|
||||
@@ -29,18 +29,18 @@ def parse_mutliplayer_debriefing(contents: str):
|
||||
for line in [x.strip() for x in contents.splitlines()]:
|
||||
if line.startswith("events ="):
|
||||
in_events = True
|
||||
elif line.startswith("}, -- end of events"):
|
||||
elif line.startswith("} -- end of events"):
|
||||
in_events = False
|
||||
|
||||
if not in_events:
|
||||
continue
|
||||
|
||||
key = None
|
||||
if line.startswith("initiator"):
|
||||
if line.startswith("initiator\t"):
|
||||
key = "initiator"
|
||||
if element is None:
|
||||
element = {}
|
||||
elif line.startswith("type"):
|
||||
elif line.startswith("type\t"):
|
||||
key = "type"
|
||||
if element is None:
|
||||
element = {}
|
||||
|
||||
Reference in New Issue
Block a user