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 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 ospid is None:
137
- if os.path.exists(file):
138
- if reset:
139
- zhmiscellany.fileio.empty_directory(file)
140
- quick_print(f'Cleaned folder {file}')
141
- else:
142
- quick_print(f'New folder created {file}')
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kenenet
3
- Version: 0.4.5
3
+ Version: 0.4.6
4
4
  Summary: dude what the fuck even is this package
5
5
  Home-page: https://www.youtube.com/@KiddyKene
6
6
  Author: kiddykene
@@ -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,,
@@ -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,,