File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -135,13 +135,13 @@ def load_fltpln():
135
135
136
136
try :
137
137
# MS Store
138
- fltpln_dir = fltpln_dir + "\LocalState\MISSIONS\Custom\CustomFlight\CUSTOMFLIGHT.FLT"
139
- with open (fltpln_dir , 'r' ) as fltpln :
138
+ fltpln_dir_full = fltpln_dir + "\LocalState\MISSIONS\Custom\CustomFlight\CUSTOMFLIGHT.FLT"
139
+ with open (fltpln_dir_full , 'r' ) as fltpln :
140
140
fltpln_lines = fltpln .readlines ()
141
141
except :
142
142
# Steam
143
- fltpln_dir = fltpln_dir + "\MISSIONS\Custom\CustomFlight\CUSTOMFLIGHT.FLT"
144
- with open (fltpln_dir , 'r' ) as fltpln :
143
+ fltpln_dir_full = fltpln_dir + "\MISSIONS\Custom\CustomFlight\CUSTOMFLIGHT.FLT"
144
+ with open (fltpln_dir_full , 'r' ) as fltpln :
145
145
fltpln_lines = fltpln .readlines ()
146
146
147
147
# Process Flight Plan Function
You can’t perform that action at this time.
0 commit comments