tinyssg 0.0.8__py3-none-any.whl → 0.0.9__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tinyssg/{__main__.py → tinyssg.py} +10 -3
- {tinyssg-0.0.8.dist-info → tinyssg-0.0.9.dist-info}/METADATA +1 -1
- tinyssg-0.0.9.dist-info/RECORD +5 -0
- tinyssg-0.0.8.dist-info/RECORD +0 -5
- {tinyssg-0.0.8.dist-info → tinyssg-0.0.9.dist-info}/WHEEL +0 -0
- {tinyssg-0.0.8.dist-info → tinyssg-0.0.9.dist-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:
|
@@ -0,0 +1,5 @@
|
|
1
|
+
tinyssg/tinyssg.py,sha256=uaCHaXdBRlKRWy4sdsPLIn738hEqQfWkxF7KUjUmon0,27415
|
2
|
+
tinyssg-0.0.9.dist-info/METADATA,sha256=MpGnTT6B_3j3fz3XlY3rHFRPEjb60P61fWe3LXOPqkM,5068
|
3
|
+
tinyssg-0.0.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
4
|
+
tinyssg-0.0.9.dist-info/top_level.txt,sha256=8u1XtPYCatbklb6u3NbJbFUbwA8nDKZ6cY3FScGwJDQ,8
|
5
|
+
tinyssg-0.0.9.dist-info/RECORD,,
|
tinyssg-0.0.8.dist-info/RECORD
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
tinyssg/__main__.py,sha256=sueS07zBArMNom52meUSmHkO8TNdNUxEKaMfxCkMSIY,27260
|
2
|
-
tinyssg-0.0.8.dist-info/METADATA,sha256=T4LpZwNNgfrKtRLv3-_JBnOeIyQ1f583doOv6GwoLog,5068
|
3
|
-
tinyssg-0.0.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
4
|
-
tinyssg-0.0.8.dist-info/top_level.txt,sha256=8u1XtPYCatbklb6u3NbJbFUbwA8nDKZ6cY3FScGwJDQ,8
|
5
|
-
tinyssg-0.0.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|