kenenet 0.4.6__py3-none-any.whl → 0.4.7__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 +2 -2
- {kenenet-0.4.6.dist-info → kenenet-0.4.7.dist-info}/METADATA +1 -1
- kenenet-0.4.7.dist-info/RECORD +5 -0
- kenenet-0.4.6.dist-info/RECORD +0 -5
- {kenenet-0.4.6.dist-info → kenenet-0.4.7.dist-info}/WHEEL +0 -0
- {kenenet-0.4.6.dist-info → kenenet-0.4.7.dist-info}/top_level.txt +0 -0
kenenet/__init__.py
CHANGED
@@ -131,7 +131,7 @@ def pp(msg='caca', subdir=None, pps=3):
|
|
131
131
|
quick_print('PP finished B======D')
|
132
132
|
os.chdir(os_current)
|
133
133
|
|
134
|
-
def save_img(img, name='', reset=True, file='temp_screenshots'):
|
134
|
+
def save_img(img, name=' ', reset=True, file='temp_screenshots', mute=False):
|
135
135
|
global ospid
|
136
136
|
if os.path.exists(file):
|
137
137
|
if reset and ospid is None:
|
@@ -147,7 +147,7 @@ def save_img(img, name='', reset=True, file='temp_screenshots'):
|
|
147
147
|
save_name = name + f'{time.time()}'
|
148
148
|
img = Image.fromarray(img)
|
149
149
|
img.save(fr'{file}\{save_name}.png')
|
150
|
-
quick_print(f'Saved image as {save_name}', lineno)
|
150
|
+
if not mute: quick_print(f'Saved image as {save_name}', lineno)
|
151
151
|
else:
|
152
152
|
quick_print(f"Your img is not a fucking numpy array you twat, couldn't save {name}", lineno)
|
153
153
|
|
@@ -0,0 +1,5 @@
|
|
1
|
+
kenenet/__init__.py,sha256=vJt7E0HsbvWtXvt8dEKjYGzQI0EhhPCzaNz6yR9wcQQ,6660
|
2
|
+
kenenet-0.4.7.dist-info/METADATA,sha256=tdLr-XGfLjvoe4EoPZ8nIyz2Ahu0bycv7jDNwuPb3k0,633
|
3
|
+
kenenet-0.4.7.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
kenenet-0.4.7.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
+
kenenet-0.4.7.dist-info/RECORD,,
|
kenenet-0.4.6.dist-info/RECORD
DELETED
@@ -1,5 +0,0 @@
|
|
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,,
|
File without changes
|
File without changes
|