diff --git a/examples/__init__.py b/examples/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/examples/vernie/android_remote.py b/examples/vernie/android_remote.py index 9eafda1..c270afb 100644 --- a/examples/vernie/android_remote.py +++ b/examples/vernie/android_remote.py @@ -9,7 +9,7 @@ import logging import socket import time -from examples.vernie import Vernie +from . import Vernie from pylgbst.peripherals import ColorDistanceSensor host = '' diff --git a/examples/vernie/go_towards_light.py b/examples/vernie/go_towards_light.py index f422237..ffc8562 100644 --- a/examples/vernie/go_towards_light.py +++ b/examples/vernie/go_towards_light.py @@ -1,4 +1,4 @@ -from examples.vernie import * +from . import * logging.basicConfig(level=logging.INFO) diff --git a/examples/vernie/playmat_path.py b/examples/vernie/playmat_path.py index 0e2ba1f..972e89c 100644 --- a/examples/vernie/playmat_path.py +++ b/examples/vernie/playmat_path.py @@ -1,4 +1,4 @@ -from examples.vernie import * +from . import * robot = Vernie() diff --git a/examples/vernie/read_typed_commands.py b/examples/vernie/read_typed_commands.py index 99e0912..7f84ad5 100644 --- a/examples/vernie/read_typed_commands.py +++ b/examples/vernie/read_typed_commands.py @@ -1,6 +1,6 @@ import six -from examples.vernie import * +from . import * robot = Vernie() diff --git a/examples/vernie/run_away_game.py b/examples/vernie/run_away_game.py index 1ebe98f..c269cf3 100644 --- a/examples/vernie/run_away_game.py +++ b/examples/vernie/run_away_game.py @@ -1,4 +1,4 @@ -from examples.vernie import * +from . import * robot = Vernie() running = True diff --git a/examples/vernie/run_commands_file.py b/examples/vernie/run_commands_file.py index bb66459..44091f4 100644 --- a/examples/vernie/run_commands_file.py +++ b/examples/vernie/run_commands_file.py @@ -1,4 +1,4 @@ -from examples.vernie import * +from . import * robot = Vernie()