pyconvertu 1.0.8__tar.gz → 1.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyconvertu
3
- Version: 1.0.8
3
+ Version: 1.1.0
4
4
  Summary: From/to Classification Converter
5
5
  Author-email: The Economist <29724411+econcz@users.noreply.github.com>
6
6
  License-Expression: MIT
@@ -1,4 +1,4 @@
1
- __version__ = "1.0.8"
1
+ __version__ = "1.1.0"
2
2
 
3
3
  from .convertu import cconv
4
4
 
@@ -128,6 +128,8 @@ def cconv(
128
128
  else: # read from the file
129
129
  if json_file is None:
130
130
  json_file = _default_json_path()
131
+ else:
132
+ json_file = path.expanduser(json_file)
131
133
  if not path.isfile(json_file):
132
134
  raise ConvertUError(f"Classification file not found: {json_file}")
133
135
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyconvertu
3
- Version: 1.0.8
3
+ Version: 1.1.0
4
4
  Summary: From/to Classification Converter
5
5
  Author-email: The Economist <29724411+econcz@users.noreply.github.com>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pyconvertu"
3
- version = "1.0.8"
3
+ version = "1.1.0"
4
4
  description = "From/to Classification Converter"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes
File without changes
File without changes