Export Fixtures with filters.
This commit is contained in:
parent
09c5a78149
commit
99c07d39ae
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ def export_fixtures():
|
|||
if isinstance(fixture, dict):
|
||||
filters = fixture.get("filters")
|
||||
fixture = fixture.get("doctype") or fixture.get("dt")
|
||||
print "Exporting {0} {1} {2}".format(fixture, app, filters)
|
||||
print "Exporting {0} {1} {2}".format(fixture, app, filters or "")
|
||||
if not os.path.exists(frappe.get_app_path(app, "fixtures")):
|
||||
os.mkdir(frappe.get_app_path(app, "fixtures"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue