number of function parameter is counted correctly when setting new values

This commit is contained in:
Dominik Demuth
2023-01-15 19:09:28 +01:00
parent 5b0c5bb4bb
commit e997712f0a
5 changed files with 50 additions and 15 deletions

View File

@ -58,7 +58,7 @@ class QFileReader(QtCore.QObject):
try:
# If QAsciiReader.skip = True it accepts automatically and returns None
r(f).exec()
except ImportError:
except AttributeError:
pass
self.data_read.emit(self.data)