seitime-frappe/frappe/commands
Alfredo Altamirano c6b1b026c5
fix: data-import command fails with local files (#20521) (#21381)
* fix: data is retrieved from db instead of local file

* fix: data import command only accepts absolute path

* fix: revert expanduser

- Shells expand it. Works fine with bash/zsh
- Doesn't work anyway as click wont let you init a path that doesn't
  exist

* Revert "fix: data is retrieved from db instead of local file"

This reverts commit cbe50a26da61e01b5a9a7c51f8632defb0913aab.

* fix: allow local import if from console

---------

Co-authored-by: Alfredo Altamirano <Ahuahuachi@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-06-20 18:09:23 +05:30
..
__init__.py docs: add missing help text for commands (#19039) 2022-11-29 16:01:25 +05:30
redis_utils.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
scheduler.py chore: Cleanup imports 2023-02-10 14:45:39 +05:30
site.py fix(new-site): Pass sql archive as --source-sql 2023-02-09 15:32:06 +05:30
translate.py feat: migrate translations command (#21362) 2023-06-19 18:19:07 +05:30
utils.py fix: data-import command fails with local files (#20521) (#21381) 2023-06-20 18:09:23 +05:30