From 805d5f3e5f5ffedf69fa100b3e6e8c4812388391 Mon Sep 17 00:00:00 2001
From: Sarra <sarra.ouelhadj@gmail.com>
Date: Wed, 24 Aug 2022 16:22:03 +0200
Subject: [PATCH] path change

---
 config.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/config.py b/config.py
index 4293d37..f902716 100644
--- a/config.py
+++ b/config.py
@@ -1,4 +1,7 @@
 # Dataset_URL = "https://download.data.grandlyon.com/wfs/grandlyon?SERVICE=WFS&VERSION=2.0.0&request=GetFeature&typename=adr_voie_lieu.adrcomgl&outputFormat=application/json;%20subtype=geojson&SRSNAME=EPSG:4171"
+import os
+
+MYDIR = os.path.dirname(__file__)
 
 class Config(object):
     DEBUG = False
@@ -10,8 +13,9 @@ class ProductionConfig(Config):
 
 class DevelopementConfig(Config):
     DEBUG = True
-    UPLOAD_FOLDER = "/home/sarra/Documents/Doctorat/Python/SemanticLifting/YKWIM/results/"
+    UPLOAD_FOLDER = MYDIR+"/YKWIM/results/"
 
 class TestingConfig(Config):
     TESTING = True
-    UPLOAD_FOLDER = "/home/sarra/Documents/Doctorat/Python/SemanticLifting/YKWIM/tests/results/"
+    UPLOAD_FOLDER = MYDIR+"/YKWIM/tests/results/"
+    
\ No newline at end of file
-- 
GitLab