Skip to content
Snippets Groups Projects
Commit 5747fe8b authored by dcz's avatar dcz
Browse files

Loading selected walenty dict bugfix

parent d5ae117b
Branches
No related merge requests found
...@@ -39,7 +39,7 @@ class Command(BaseCommand): ...@@ -39,7 +39,7 @@ class Command(BaseCommand):
def import_tei(): def import_tei():
logging.basicConfig(filename='import.log', level=logging.DEBUG) logging.basicConfig(filename='import.log', level=logging.DEBUG)
xml_file_name = get_environment('WALENTY_FILE_NAME', default='walenty_20210913_smaller.xml') xml_file_name = os.getenv('WALENTY_FILE_NAME', default='walenty_20210913_smaller.xml')
xml_file = os.path.join(BASE_DIR, 'data', 'walenty', xml_file_name) xml_file = os.path.join(BASE_DIR, 'data', 'walenty', xml_file_name)
# xml_file = os.path.join(BASE_DIR, 'data', 'walenty', 'walenty_20210913_smaller.xml') # xml_file = os.path.join(BASE_DIR, 'data', 'walenty', 'walenty_20210913_smaller.xml')
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment