Skip to content

Commit

Permalink
fix creating temp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kubat committed Oct 13, 2017
1 parent bf43140 commit 57c382f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translation_manager/management/commands/makemessages.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def gettext_angular_js(self):
all_files = self.find_files(get_settings('TRANSLATIONS_API_CLIENT_APP_SRC_PATH'))
if all_files:
temp_dir = os.path.join(get_settings('TRANSLATIONS_BASE_DIR'), 'angularjs_temp')
os.mkdir(temp_dir)
os.makedirs(temp_dir, exist_ok=True)
regexes = get_settings('TRANSLATIONS_API_TRANSLATION_STRINGS_REGEX_LIST')
regex_legacy = get_settings('TRANSLATIONS_API_TRANSLATION_STRINGS_REGEX')
if regex_legacy:
Expand Down

0 comments on commit 57c382f

Please sign in to comment.