diff --git a/frappe/commands/translate.py b/frappe/commands/translate.py index de4d8aab0b..f11954cb28 100644 --- a/frappe/commands/translate.py +++ b/frappe/commands/translate.py @@ -1,6 +1,7 @@ from __future__ import unicode_literals, absolute_import, print_function import click from frappe.commands import pass_context, get_site +from frappe.exceptions import SiteNotSpecifiedError # translation @click.command('build-message-files') diff --git a/frappe/commands/utils.py b/frappe/commands/utils.py index 835fa2d40e..869178ff3c 100644 --- a/frappe/commands/utils.py +++ b/frappe/commands/utils.py @@ -5,6 +5,7 @@ import click import json, os, sys, subprocess from distutils.spawn import find_executable import frappe +from frappe.exceptions import SiteNotSpecifiedError from frappe.commands import pass_context, get_site from frappe.utils import update_progress_bar, get_bench_path from frappe.utils.response import json_handler