Skip to content

Commit b31c48f

Browse files
committed
add sys.path.insert(0,'.')
1 parent 1a7139b commit b31c48f

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## 0.1
44

5+
### 0.1.1
6+
7+
- Add `sys.path.insert(0,'.')`.
8+
59
### 0.1.0
610

711
- First release.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "tortoise-cli"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "A cli tool for tortoise-orm, build on top of click and ptpython."
55
authors = ["long2ice <[email protected]>"]
66
license = "Apache-2.0"

tortoise_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.0"
1+
__version__ = "0.1.1"

tortoise_cli/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import asyncio
22
import os
3+
import sys
34
from functools import wraps
45
from typing import Optional
56

@@ -59,6 +60,7 @@ async def shell(ctx: click.Context):
5960

6061

6162
def main():
63+
sys.path.insert(0, ".")
6264
cli()
6365

6466

0 commit comments

Comments
 (0)