mirror of
https://github.com/shizand/statapp.git
synced 2024-12-23 12:12:59 +03:00
fix: добавлен более подробный вывод ошибок в консоль
This commit is contained in:
parent
d6c03ca3c8
commit
780d5b30fd
@ -17,6 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
@ -71,8 +72,11 @@ def onError(errorName: Exception):
|
|||||||
QMessageBox.Ok,
|
QMessageBox.Ok,
|
||||||
QMessageBox.Ok)
|
QMessageBox.Ok)
|
||||||
|
|
||||||
|
logging.exception(errorName)
|
||||||
|
|
||||||
msgBox.exec_()
|
msgBox.exec_()
|
||||||
|
|
||||||
|
|
||||||
class FloatDelegate(QStyledItemDelegate):
|
class FloatDelegate(QStyledItemDelegate):
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
QStyledItemDelegate.__init__(self, parent=parent)
|
QStyledItemDelegate.__init__(self, parent=parent)
|
||||||
|
Loading…
Reference in New Issue
Block a user