tinyssg 0.0.8__tar.gz → 0.0.10__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {tinyssg-0.0.8 → tinyssg-0.0.10}/PKG-INFO +1 -1
- {tinyssg-0.0.8 → tinyssg-0.0.10}/pyproject.toml +1 -1
- tinyssg-0.0.10/tinyssg/__main__.py +4 -0
- tinyssg-0.0.8/tinyssg/__main__.py → tinyssg-0.0.10/tinyssg/tinyssg.py +10 -3
- {tinyssg-0.0.8 → tinyssg-0.0.10}/tinyssg.egg-info/PKG-INFO +1 -1
- {tinyssg-0.0.8 → tinyssg-0.0.10}/tinyssg.egg-info/SOURCES.txt +1 -0
- {tinyssg-0.0.8 → tinyssg-0.0.10}/README.md +0 -0
- {tinyssg-0.0.8 → tinyssg-0.0.10}/setup.cfg +0 -0
- {tinyssg-0.0.8 → tinyssg-0.0.10}/tinyssg.egg-info/dependency_links.txt +0 -0
- {tinyssg-0.0.8 → tinyssg-0.0.10}/tinyssg.egg-info/top_level.txt +0 -0
@@ -63,14 +63,21 @@ class TinySSGUtility:
|
|
63
63
|
return result
|
64
64
|
|
65
65
|
@classmethod
|
66
|
-
def get_fullpath(cls, args: dict, pathkey: str) -> str:
|
66
|
+
def get_fullpath(cls, args: dict, pathkey: str = '') -> str:
|
67
67
|
"""
|
68
68
|
Get the full path from the relative path
|
69
69
|
"""
|
70
70
|
if isinstance(args['curdir'], str) and len(args['curdir']) > 0:
|
71
|
-
|
71
|
+
basedir = args['curdir']
|
72
72
|
else:
|
73
|
-
|
73
|
+
basedir = os.getcwd()
|
74
|
+
|
75
|
+
if isinstance(args[pathkey], str) and len(args[pathkey]) > 0:
|
76
|
+
result = os.path.join(basedir, args[pathkey])
|
77
|
+
else:
|
78
|
+
result = basedir
|
79
|
+
|
80
|
+
return result
|
74
81
|
|
75
82
|
@classmethod
|
76
83
|
def clear_output(cls, output_full_path: str) -> None:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|