From e60b7fa8e94f32874879460ecc018a81cbb6f671 Mon Sep 17 00:00:00 2001
From: shinedday <shinedday@gmail.com>
Date: Tue, 18 May 2021 15:01:24 +0200
Subject: [PATCH] fix import

---
 ant_example/antHillExample.py | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/ant_example/antHillExample.py b/ant_example/antHillExample.py
index 11a2f02..975e21e 100644
--- a/ant_example/antHillExample.py
+++ b/ant_example/antHillExample.py
@@ -1,14 +1,20 @@
 """
 class antHillExample
 """
+import pathlib
+import sys
+
+
+from pyAmakCore.classes.tools.amasIHM import AmasIHM
+from pyAmakCore.enumeration.executionPolicy import ExecutionPolicy
+
+sys.path.insert(0, str(pathlib.Path(__file__).parent))
+
 from ant_example.agent.communicating import CommunicatingAnt
 from ant_example.agent.proof_of_concept import AntTest
 from ant_example.agent.v1 import AntExampleV1
 from ant_example.agent.v2 import AntExampleV2
 
-from pyAmakCore.classes.tools.amasIHM import AmasIHM
-from pyAmakCore.enumeration.executionPolicy import ExecutionPolicy
-
 
 class AntHillExample(AmasIHM):
 
-- 
GitLab