Skip to content

Commit

Permalink
#23: Arruma um erro na consulta de missao
Browse files Browse the repository at this point in the history
  • Loading branch information
HeBatalha committed Nov 27, 2023
1 parent c64601e commit 09de7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/Banco/missao.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def consultarMissaoNome(self, nome:str):
try:
conexao=self.db.conexao
cursor=conexao.cursor()
cursor.execute(f"""SELECT * FROM Missao;""")
cursor.execute(f"""SELECT * FROM Missao WHERE NOME = '{nome}';""")
conexao.commit()
resultado=cursor.fetchall()
print(resultado[0])
Expand Down

0 comments on commit 09de7c4

Please sign in to comment.