Skip to content

Commit

Permalink
fix call
Browse files Browse the repository at this point in the history
  • Loading branch information
Alw3ys committed Feb 6, 2024
1 parent d0fe558 commit c5430e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions dosei/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import subprocess
import sys

import click
Expand Down Expand Up @@ -27,7 +26,7 @@ def run(func):
raise click.ClickException(f"Couldn't find a dosei_config.py file in \"{os.getcwd()}\"")
if app.dev is None:
raise click.ClickException('Command "run" not found.')
subprocess.check_call(app.command)
os.system(app.command)


@cli.command()
Expand All @@ -38,7 +37,7 @@ def dev():
raise click.ClickException(f"Couldn't find a dosei_config.py file in \"{os.getcwd()}\"")
if app.dev is None:
raise click.ClickException('Command "dev" not found.')
subprocess.check_call(app.dev)
os.system(app.dev)


@cli.command()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dosei"
version = "0.0.18a4"
version = "0.0.18a5"
description = "Dosei Python SDK"
authors = ["Alvaro Molina <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit c5430e8

Please sign in to comment.