mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
[minor] [fix] remove website.pyc
This commit is contained in:
9
patches/july_2013/p09_remove_website_pyc.py
Normal file
9
patches/july_2013/p09_remove_website_pyc.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
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)
|
||||||
@@ -261,4 +261,5 @@ patch_list = [
|
|||||||
"execute:webnotes.reload_doc('stock', 'Print Format', 'Delivery Note Modern') # 2013-07-22",
|
"execute:webnotes.reload_doc('stock', 'Print Format', 'Delivery Note Modern') # 2013-07-22",
|
||||||
"execute:webnotes.reload_doc('stock', 'Print Format', 'Delivery Note Spartan') # 2013-07-22",
|
"execute:webnotes.reload_doc('stock', 'Print Format', 'Delivery Note Spartan') # 2013-07-22",
|
||||||
"patches.july_2013.p08_custom_print_format_net_total_export",
|
"patches.july_2013.p08_custom_print_format_net_total_export",
|
||||||
|
"patches.july_2013.p09_remove_website_pyc",
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user