Skip to content

Commit

Permalink
Change idx
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelkumbrasev committed May 10, 2020
1 parent 131995c commit 3aad3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote_control/table_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def join_tables(ftp_server, table_name):
ftp_server.retrlines('NLST', tables.append)
result_tables = [ table_handler() for i in range(len(tables)) ]
for idx, table in enumerate(tables):
ftp_server.retrlines('RETR ' + tables[0], result_tables[idx].set_line)
ftp_server.retrlines('RETR ' + tables[idx], result_tables[idx].set_line)

result_table = open(table_name, 'w')
for idx in range(len(result_tables)):
Expand Down

0 comments on commit 3aad3de

Please sign in to comment.