diff options
Diffstat (limited to 'examples/pytde-sampler/qt_widgets/table.py')
-rw-r--r-- | examples/pytde-sampler/qt_widgets/table.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pytde-sampler/qt_widgets/table.py b/examples/pytde-sampler/qt_widgets/table.py index f3b9e54..b75d596 100644 --- a/examples/pytde-sampler/qt_widgets/table.py +++ b/examples/pytde-sampler/qt_widgets/table.py @@ -22,7 +22,7 @@ class MainFrame(TQFrame): self.help = KTextEdit(helpText, '', self) data = csv.reader(open(contrib)) - header = data.next() + header = next(data) items = [item for item in data] self.table = table = TQTable(len(items), len(header), self) |