diff --git a/modules/base/pymod/table.py b/modules/base/pymod/table.py
index c442061fb09c5222f09d349ea9ef0231f52ab167..6a8a9abe35be3efe25abe1560eea7c820609c4f9 100644
--- a/modules/base/pymod/table.py
+++ b/modules/base/pymod/table.py
@@ -861,7 +861,7 @@ Statistics for column %(col)s
     """
 
     try:
-      from table_selector import TableSelector
+      from .table_selector import TableSelector
     except:
       raise ImportError("Tried to import from the file table_selector.py, but could not find it!")