baoboa / pyqt5

PyQt5 from riverbank
http://www.riverbankcomputing.com/software/pyqt/download5
GNU General Public License v3.0
1.04k stars 591 forks source link

Calc Does Not Work #28

Closed ghost closed 6 years ago

ghost commented 6 years ago

Calc Does Not Work

Traceback (most recent call last):
  File "beyn.py", line 120, in digitClicked
    digitValue = int(clickedButton.text())
ValueError: invalid literal for int() with base 10: '&2'
[1]    31390 abort (core dumped)  python3 beyn.py

i got this error when i click a number twice.

baoboa commented 6 years ago

solved.