Skip to content

Commit

Permalink
Change the config path
Browse files Browse the repository at this point in the history
  • Loading branch information
blagojabozinovski committed Apr 17, 2024
1 parent 344d530 commit 3752c90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckanext/bulkupload/scripts/bulk_upload_xcaret.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
import requests
import ssl
from os import walk
import os
import configparser

ssl.match_hostname = lambda cert, hostname: True

imported_vars = configparser.RawConfigParser()
imported_vars.read('/home/blagoja/Projects/CKAN/2.9-test/scripts/config.ini')
imported_vars.read(os.path.join(os.path.dirname(__file__), 'config.ini'))

folder_path = imported_vars.get('my_vars', "FOLDER_PATH")
api_token = imported_vars.get('my_vars', "API_TOKEN")
Expand Down

0 comments on commit 3752c90

Please sign in to comment.