brotherton-erpnext/patches/february_2013/remove_account_utils_folder.py
2013-11-20 13:00:28 +05:30

11 lines
347 B
Python

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
def execute():
from webnotes.utils import get_base_path
import shutil
import os
utils_path = os.path.join(get_base_path(), "app", "accounts", "utils")
if os.path.exists(utils_path):
shutil.rmtree(utils_path)