From e3ae498e4d69c9bceab5c2b0841ee03e77c1b9fd Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Fri, 29 May 2020 17:45:43 +0530 Subject: [PATCH] fix: fixed imports --- frappe/commands/translate.py | 1 + frappe/commands/utils.py | 1 + 2 files changed, 2 insertions(+) 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