sites path with use
This commit is contained in:
parent
32c54e31dc
commit
ac82b5ba6e
1 changed files with 2 additions and 2 deletions
|
|
@ -242,8 +242,8 @@ def make_app():
|
|||
make_boilerplate()
|
||||
|
||||
@cmd
|
||||
def use():
|
||||
with open("currentsite.txt", "w") as sitefile:
|
||||
def use(sites_path):
|
||||
with open(os.path.join(sites_path, "currentsite.txt"), "w") as sitefile:
|
||||
sitefile.write(frappe.local.site)
|
||||
|
||||
# install
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue