4bd90d79d0a048166d6a74e7227b7c45901aeb89
with open(...) as ...: context managers
Instead of manually opening and closes file objects, use the context manager that will properly handle opening and closing files for us, even in the event of some error
##OpenTX 2.2 Branch
The ongoing development on 2.2.x is done in this branch.
Refer to the opentx.wiki for information about setting up the tool chains for building OpenTX and OpenTX Companion as well as other development related issues.
Languages
C
71.9%
C++
25.4%
Python
0.9%
CMake
0.6%
Shell
0.3%
Other
0.7%