Skip to content

Commit

Permalink
Merge pull request #162 from TheG1uy/fix_bug
Browse files Browse the repository at this point in the history
Fix error in remote script
  • Loading branch information
valentina-kustikova authored May 10, 2020
2 parents 131995c + 3aad3de commit 80edcfa
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 80edcfa

Please sign in to comment.