Skip to content

Commit b4993a4

Browse files
committed
fix LoadFirmware
1 parent 1168d61 commit b4993a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cloudshell/networking/cisco/flows/cisco_load_firmware_flow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ def execute_flow(self, path, vrf, timeout):
4141
device_file_system = system_action.get_flash_folders_list()
4242
self._logger.info("Discovered folders: {}".format(device_file_system))
4343
if device_file_system:
44-
for flash in device_file_system.sort():
44+
device_file_system.sort()
45+
for flash in device_file_system:
4546
if flash in self.BOOTFOLDER:
4647
self._logger.info("Device has a {} folder".format(flash))
4748
firmware_dst_path = "{0}/{1}".format(flash, firmware_file_name)

0 commit comments

Comments
 (0)