Skip to content

Commit

Permalink
made fstring compliant with single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedant P Iyer committed Nov 5, 2024
1 parent 16f247a commit 2f88530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsi/plugins/file_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def get_rows(self, collection) -> None:
continue
if f_table != "NULL":
foreignIndex = collection["dsi_relations"]["foreign_key"].index((f_table, f_col))
dot_file.write(f"{f_table}:{f_col} -> {collection["dsi_relations"]['primary_key'][foreignIndex][0]}: {collection["dsi_relations"]['primary_key'][foreignIndex][1]}; ")
dot_file.write(f"{f_table}:{f_col} -> {collection['dsi_relations']['primary_key'][foreignIndex][0]}: {collection['dsi_relations']['primary_key'][foreignIndex][1]}; ")

dot_file.write("}")
dot_file.close()
Expand Down

0 comments on commit 2f88530

Please sign in to comment.