Skip to content

Commit a45c6da

Browse files
committed
addressing an issue with PyttmanCLI executing scripts, where the directory of the app is included in the path for a script twice.
1 parent 7b8418f commit a45c6da

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Pyttman Changelog
22

3+
# V 1.3.0.1
4+
Hotfix release, addressing an issue with PyttmanCLI executing scripts,
5+
where the directory of the app is included in the path for a script
6+
twice.
7+
38
# V 1.3.0
49
In this release, we're introducing some cool new features along with
510
some bug fixes.

pyttman/tools/pyttmancli/intents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def respond(self, message: Message) -> Reply | ReplyStream:
193193
global_variables = globals().copy()
194194
global_variables.update(locals())
195195
shell = code.InteractiveConsole(global_variables)
196-
script_path = Path().cwd() / Path(app_name) / script_file
196+
script_path = Path.cwd() / script_file
197197

198198
with open(script_path.as_posix(), "r") as f:
199199
# Set variable to indicate for the running script that it's main

pyttman/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
__version__ = "1.3.0"
2+
__version__ = "1.3.0.1"

0 commit comments

Comments
 (0)