aboutsummaryrefslogtreecommitdiffstats
path: root/examples/transform
diff options
context:
space:
mode:
Diffstat (limited to 'examples/transform')
-rw-r--r--examples/transform/__init__.py4
-rw-r--r--examples/transform/actions.py3
2 files changed, 4 insertions, 3 deletions
diff --git a/examples/transform/__init__.py b/examples/transform/__init__.py
index c58f4e6..4934e72 100644
--- a/examples/transform/__init__.py
+++ b/examples/transform/__init__.py
@@ -42,9 +42,9 @@
# user supplied function that executes on
# a set of files specified by the user
-import actions
+from . import actions
+from . import ui
import examples_common
-import ui
from PythonExtension import QtCreator
from PySide2.QtCore import QObject, SIGNAL
diff --git a/examples/transform/actions.py b/examples/transform/actions.py
index de54d94..da65b21 100644
--- a/examples/transform/actions.py
+++ b/examples/transform/actions.py
@@ -38,8 +38,9 @@
##
#############################################################################
+from . import ui
+
from PythonExtension import QtCreator
-import ui
# Apply a function to each file
def run(code):