2013-08-05 09:29:54 +00:00
|
|
|
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
|
|
|
# License: GNU General Public License v3. See license.txt
|
|
|
|
|
2013-07-23 12:24:16 +00:00
|
|
|
import webnotes
|
|
|
|
import os
|
|
|
|
|
|
|
|
def execute():
|
|
|
|
from webnotes.utils import get_base_path
|
|
|
|
website_py = os.path.join(get_base_path(), "app", "startup", "website.py")
|
|
|
|
website_pyc = os.path.join(get_base_path(), "app", "startup", "website.pyc")
|
|
|
|
if not os.path.exists(website_py) and os.path.exists(website_pyc):
|
|
|
|
os.remove(website_pyc)
|