Skip to content

Commit

Permalink
fix: saco el texto "Vale I" de la salida
Browse files Browse the repository at this point in the history
  • Loading branch information
alete89 committed May 15, 2019
1 parent 24bcbea commit e0a7078
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/logic/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self):
self.proc.finished.connect(self.processJustFinished)
self.proc.readyRead.connect(self.hayParaEscribir)
self.secuencia = []
self.secuenciaShow=[]
self.secuenciaShow = []
self.MainWindowInstance = None
self.current_process = ""

Expand All @@ -41,7 +41,7 @@ def ejecutarSecuencia(self, comandos, iteraciones, mw):

def runNow(self):
filePathExists = True

if not self.secuencia:
return
instruccion = self.secuencia[0]
Expand Down Expand Up @@ -102,14 +102,14 @@ def processJustFinished(self):
self.runNow()

def secuenciaList(self, window_instance):

window_instance.indicadorSecuencia.clear()
window_instance.indicadorSecuencia.setText("")
window_instance.indicadorSecuencia.setText("")
secuencia = self.secuenciaShow
printable_instruccion=""
printable_instruccion = ""
for instruccion in secuencia:
printable_instruccion = printable_instruccion + "<html>I vale:" + str(instruccion["comando"]) + " (" + str(instruccion["iteraciones"]) + ")"+"<br></html>"
printable_instruccion = printable_instruccion + "<html>" + \
str(instruccion["comando"]) + \
" (" + str(instruccion["iteraciones"]) + ")"+"<br></html>"
window_instance.indicadorSecuencia.setFontWeight(50)
window_instance.indicadorSecuencia.setText(printable_instruccion)


0 comments on commit e0a7078

Please sign in to comment.