Skip to content

Commit a603f86

Browse files
Daniel Allepuz RequenaDaniel Allepuz Requena
Daniel Allepuz Requena
authored and
Daniel Allepuz Requena
committed
Mantains open the initial menu
1 parent b16b619 commit a603f86

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

quantumlab.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@
55
import os
66

77
class QuantumLabScreen(BoxLayout):
8-
PYTHON_NAME = "python"
8+
PYTHON_NAME = "python3"
99
def run_python(self, filename):
1010
global cmd
1111
cmd = self.PYTHON_NAME + " " + filename
12-
app.stop()
12+
os.system(cmd)
1313

1414
class QuantumLabApp(App):
1515
def build(self):
1616
screen = QuantumLabScreen()
1717
return screen
1818

19-
cmd = ""
2019
if __name__ == "__main__":
2120
app = QuantumLabApp()
2221
app.run()
23-
os.system(cmd)

0 commit comments

Comments
 (0)