kenenet 0.4.5__py3-none-any.whl → 0.4.6__py3-none-any.whl
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.
- kenenet/__init__.py +7 -8
- {kenenet-0.4.5.dist-info → kenenet-0.4.6.dist-info}/METADATA +1 -1
- kenenet-0.4.6.dist-info/RECORD +5 -0
- kenenet-0.4.5.dist-info/RECORD +0 -5
- {kenenet-0.4.5.dist-info → kenenet-0.4.6.dist-info}/WHEEL +0 -0
- {kenenet-0.4.5.dist-info → kenenet-0.4.6.dist-info}/top_level.txt +0 -0
kenenet/__init__.py
CHANGED
@@ -133,14 +133,13 @@ def pp(msg='caca', subdir=None, pps=3):
|
|
133
133
|
|
134
134
|
def save_img(img, name='', reset=True, file='temp_screenshots'):
|
135
135
|
global ospid
|
136
|
-
if
|
137
|
-
if
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
zhmiscellany.fileio.create_folder(file)
|
136
|
+
if os.path.exists(file):
|
137
|
+
if reset and ospid is None:
|
138
|
+
zhmiscellany.fileio.empty_directory(file)
|
139
|
+
quick_print(f'Cleaned folder {file}')
|
140
|
+
else:
|
141
|
+
quick_print(f'New folder created {file}')
|
142
|
+
zhmiscellany.fileio.create_folder(file)
|
144
143
|
ospid = True
|
145
144
|
frame = inspect.currentframe().f_back
|
146
145
|
lineno = frame.f_lineno
|
@@ -0,0 +1,5 @@
|
|
1
|
+
kenenet/__init__.py,sha256=Woj-Uj8g7ZibLM84W3hJ7i5DDo6NfubSfTaHvLqiKNQ,6634
|
2
|
+
kenenet-0.4.6.dist-info/METADATA,sha256=4njs5V-E4IYfpZ4pcQpOe6WqW9V4mvsF346Rb2KXr2g,633
|
3
|
+
kenenet-0.4.6.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
kenenet-0.4.6.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
+
kenenet-0.4.6.dist-info/RECORD,,
|
kenenet-0.4.5.dist-info/RECORD
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
kenenet/__init__.py,sha256=d6IwZtpzd09ZIR5DrSQzxOemwi93nLEaJtzGxbrUMFw,6667
|
2
|
-
kenenet-0.4.5.dist-info/METADATA,sha256=_Fk1SarqmPxKL_HghN9y_SH1XZDR5fne9KShnDJ6P64,633
|
3
|
-
kenenet-0.4.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
-
kenenet-0.4.5.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
-
kenenet-0.4.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|