Skip to content

Commit

Permalink
Fix ros2 launch on Windows
Browse files Browse the repository at this point in the history
argcomplete it doesn't support Windows. Moved the `argcomplete` outside the try catch
  • Loading branch information
ahcorde committed May 7, 2020
1 parent 6f3295f commit 07762e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2launch/ros2launch/command/launch.py
Expand Up @@ -16,8 +16,8 @@

from ament_index_python.packages import get_package_prefix
from ament_index_python.packages import PackageNotFoundError
from argcomplete.completers import FilesCompleter
try:
from argcomplete.completers import FilesCompleter
from argcomplete.completers import SuppressCompleter
except ImportError:
# argcomplete < 1.9.0
Expand Down

0 comments on commit 07762e4

Please sign in to comment.