Skip to content

Commit

Permalink
Fix windows command line problem
Browse files Browse the repository at this point in the history
Fix windows command line problem
  • Loading branch information
JE-Chen committed Jul 11, 2024
1 parent 286f985 commit d72a11c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ je_mail_thunder_dev
wheel
twine
sphinx
sphinx-rtd-theme
sphinx-rtd-theme
build
6 changes: 5 additions & 1 deletion je_mail_thunder/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ def preprocess_execute_files(file_path: str):


def preprocess_read_str_execute_action(execute_str: str):
execute_str = json.loads(execute_str)
if sys.platform in ["win32", "cygwin", "msys"]:
json_data = json.loads(execute_str)
execute_str = json.loads(json_data)
else:
execute_str = json.loads(execute_str)
execute_action(execute_str)


Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "je_mail_thunder"
version = "0.0.19"
name = "je_mail_thunder_dev"
version = "0.0.34"
authors = [
{ name = "JE-Chen", email = "[email protected]" },
]
Expand Down
4 changes: 2 additions & 2 deletions dev.toml → stable.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "je_mail_thunder_dev"
version = "0.0.33"
name = "je_mail_thunder"
version = "0.0.20"
authors = [
{ name = "JE-Chen", email = "[email protected]" },
]
Expand Down

0 comments on commit d72a11c

Please sign in to comment.