diff --git a/network/nxos/nxos_file_copy.py b/network/nxos/nxos_file_copy.py index a59bf2453f2..8a06a96610f 100644 --- a/network/nxos/nxos_file_copy.py +++ b/network/nxos/nxos_file_copy.py @@ -894,7 +894,7 @@ def main(): transfer_file(module, dest) transfer_status = 'Sent' except ShellError: - clie = get_exception(): + clie = get_exception() module.fail_json(msg=str(clie)) if remote_file is None: