Using os.path.abspath() here in TerraSync.setTarget() adds a safety layer in case the process later calls os.chdir() or similar[1], which would change the meaning of the "." directory. Also remove the strip() call which I don't consider useful here, see my message at: https://sourceforge.net/p/flightgear/mailman/message/36208140/ [1] Not the case currently, but who knows what will happen in the future... |
||
---|---|---|
.. | ||
demo.py | ||
FGFSDemo.py | ||
FlightGear.py | ||
nasal_api_doc.py | ||
terrasync.py |