Created
October 16, 2017 21:00
-
-
Save Gwith/35911f9fdedba8853fc8dce91014e757 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test(self): | |
try: | |
for row in range(self.orders_table.rowCount()): | |
for col in range(self.orders_table.columnCount()): | |
value = self.orders_table.item(row, col).text() | |
self.orders_table_list.append(value) | |
except Exception as e: | |
print(e) | |
Message in console: 'NoneType' object has no attribute 'text' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment