Skip to content

Commit

Permalink
fix: app command
Browse files Browse the repository at this point in the history
  • Loading branch information
Alw3ys committed Feb 6, 2024
1 parent c5430e8 commit 366e964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dosei/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def run(func):
app: Dosei = import_from_string("dosei_config:dosei")
except ImportFromStringError:
raise click.ClickException(f"Couldn't find a dosei_config.py file in \"{os.getcwd()}\"")
if app.dev is None:
if app.command is None:
raise click.ClickException('Command "run" not found.')
os.system(app.command)

Expand Down

0 comments on commit 366e964

Please sign in to comment.