From 58eaf05aec7699ff2c360b424c027d16d90fbab6 Mon Sep 17 00:00:00 2001 From: matixezor Date: Tue, 1 Jun 2021 23:08:20 +0200 Subject: [PATCH] fix path --- src/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/const.py b/src/const.py index 57c10e7..148f92b 100644 --- a/src/const.py +++ b/src/const.py @@ -8,7 +8,7 @@ from image import Image from machine_learning.neural_network.net import Net -main_path = os.path.dirname(os.getcwd()) +main_path = os.path.dirname(os.path.dirname(__file__)) WIDTH = 800 HEIGHT = 800