Skip to content

Commit

Permalink
fix remove module + __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclems committed Mar 13, 2023
1 parent 15134c0 commit 027fe60
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/gn_modulator/module/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def remove_module(cls, module_code, force=False):
module_config["registred"] = False

if cls.is_python_module(module_code):
subprocess.run(f"pip remove {module_code}", shell=True, check=True)
subprocess.run(f"pip uninstall -y {module_code}", shell=True, check=True)

return True

Expand Down
Empty file.
Empty file.
Empty file.
Empty file.

0 comments on commit 027fe60

Please sign in to comment.