diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index 6414ec44..9cd8bc16 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -9,7 +9,9 @@ TODO: restrict Cookiecutter Django project initialization to Python 3.x environments only """ from __future__ import print_function -from scripts.update_licenses import titles_dict +import sys +sys.path.insert(0, '../scripts/') +from update_licenses import titles_dict import os import random