Skip to content

Commit 5e37a63

Browse files
author
James Draper
committed
operator fix and commenting out icons_rc useage
1 parent 5b52906 commit 5e37a63

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

examples/BasicExample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from qtpandas.compat import QtGui
88
from qtpandas.models.DataFrameModel import DataFrameModel
99
from qtpandas.views.DataTableView import DataTableWidget
10-
from qtpandas.views._ui import icons_rc
10+
# from qtpandas.views._ui import icons_rc
1111

1212
sys.excepthook = excepthook
1313

examples/TestApp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from qtpandas.models.DataFrameModel import DataFrameModel
1313
from qtpandas.models.DataSearch import DataSearch
1414
from qtpandas.views.CSVDialogs import CSVImportDialog, CSVExportDialog
15-
from qtpandas.views._ui import icons_rc
15+
# from qtpandas.views._ui import icons_rc
1616
from qtpandas.views.DataTableView import DataTableWidget
1717
from qtpandas.views.CustomDelegates import DtypeComboDelegate
1818
from qtpandas.models.mime import PandasCellMimeType, PandasCellPayload

qtpandas/models/DataSearch.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ def __init__(self, name, filterString='', dataFrame=pd.DataFrame()):
4141
def __repr__(self):
4242
unformatted = "DataSearch({}): {} ({})"
4343
formatted_string = unformatted.format(hex(id(self)),
44-
self.name, self._filterString)
45-
if python_version > 3:
44+
self.name,
45+
self._filterString)
46+
if python_version < 3:
4647
formatted_string = unformatted.encode("utf-8")
4748

4849
return formatted_string

qtpandas/views/CSVDialogs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# from qtpandas.encoding import Detector
99
from qtpandas.models.DataFrameModel import DataFrameModel
1010
from qtpandas.views.CustomDelegates import DtypeComboDelegate
11-
from qtpandas.views._ui import icons_rc
11+
# from qtpandas.views._ui import icons_rc
1212

1313
from qtpandas.utils import fillNoneValues, convertTimestamps, superReadFile
1414

0 commit comments

Comments
 (0)