mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
autotest: fix MAVFTP test
This commit is contained in:
parent
10e69373b3
commit
e6c1bc2402
@ -11443,7 +11443,7 @@ switch value'''
|
||||
mavproxy.expect(["Loaded module ftp", "module ftp already loaded"])
|
||||
mavproxy.send("ftp list\n")
|
||||
some_directory = None
|
||||
for entry in sorted(os.listdir()):
|
||||
for entry in sorted(os.listdir(".")):
|
||||
if os.path.isdir(entry):
|
||||
some_directory = entry
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user