mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 19:14:03 +03:00
reworked pathing for titles_dict with os.chdir
This commit is contained in:
parent
7288f07bec
commit
c91a5d2ce3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user