reworked pathing for titles_dict with os.chdir

This commit is contained in:
alexzvk 2022-11-27 18:35:21 -05:00
parent 7288f07bec
commit c91a5d2ce3

View File

@ -9,14 +9,13 @@ TODO: restrict Cookiecutter Django project initialization to
Python 3.x environments only
"""
from __future__ import print_function
import sys
sys.path.insert(0, '../scripts/')
from update_licenses import titles_dict
import os
import random
import shutil
import string
os.chdir('../scripts/')
from update_licenses import titles_dict
try:
# Inspired by