File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,9 @@ def read_data_file():
134
134
if len (subsection ) != 0 :
135
135
section .append (subsection .copy ())
136
136
subsection .clear ()
137
+ if i [0 ] == '--' :
138
+ list_data .append (section .copy ())
139
+ section .clear ()
137
140
138
141
if i [0 ] == '----' and previous_line [0 ] == '----' :
139
142
subsection .append ({' ' .join (i [1 :- 1 ]): booleans [i [- 1 ]]})
@@ -150,7 +153,6 @@ def read_data_file():
150
153
subsection .append ({' ' .join (i [1 :- 1 ]): booleans [i [- 1 ]]})
151
154
152
155
if i [0 ] == '--' :
153
-
154
156
if i [- 1 ] not in tasks and previous_line [0 ] == '--' and previous_line [- 1 ] not in tasks :
155
157
list_data .append (section .copy ())
156
158
section .clear ()
Original file line number Diff line number Diff line change 38
38
-- Play (O)
39
39
--- CS:GO (F)
40
40
--- Train (C)
41
- ---- Aim (F)
41
+ ---- Aim (F)
42
+ -- Practice (C)
43
+ --- Aim (F)
You can’t perform that action at this time.
0 commit comments