Skip to content

Commit

Permalink
Merge branch 'bugfix' into v2_main
Browse files Browse the repository at this point in the history
  • Loading branch information
boonhapus committed Feb 12, 2024
2 parents 60d218e + c55ebe5 commit 940b885
Show file tree
Hide file tree
Showing 4 changed files with 570 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/thoughtspot_tml/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.12"
__version__ = "2.0.13"
3 changes: 2 additions & 1 deletion src/thoughtspot_tml/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def determine_tml_type(
path = pathlib.Path(path)

if path.name.endswith(".tml"):
tml_type, _, _ = ".".join(_[1:] for _ in path.suffixes).partition(".")
name_and_type_suffix, _, _ = path.name.rpartition(".tml")
_, _, tml_type = name_and_type_suffix.rpartition(".")
elif path.name.lower() == "connection.yaml":
tml_type = "connection"
else:
Expand Down
File renamed without changes.
Loading

0 comments on commit 940b885

Please sign in to comment.