Skip to content

Commit

Permalink
Sat, Aug 3, 2024, 1:27 PM +03:00
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdoullahBougataya committed Aug 3, 2024
1 parent 5ae8b72 commit 8837ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
print("Filling the database...")
for i in range(len(engines)):
cur = con.cursor()
cur.execute(f"INSERT INTO rocket_engines VALUES {(i, ) + engines[i] + (images[i].replace(".", "localhost:8080"), )};".replace("''", "NULL"))
cur.execute(f"INSERT INTO rocket_engines VALUES {(i, ) + engines[i] + (images[i].replace(".", "http://localhost:8080"), )};".replace("''", "NULL"))
con.commit()
print(f"{int(100 * (i/len(engines)))}% done")
print(f'100% done')
Expand Down

0 comments on commit 8837ab4

Please sign in to comment.