bcmd 0.0.22__tar.gz → 0.0.23__tar.gz

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.

Potentially problematic release.


This version of bcmd might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bcmd
3
- Version: 0.0.22
3
+ Version: 0.0.23
4
4
  Summary: Commands for Beni
5
5
  Author: Beni Mang
6
6
  Author-email: benimang@126.com
@@ -22,6 +22,7 @@ async def showtime(values: list[str] = typer.Argument(None)):
22
22
  beni time 2021-9-23\n
23
23
  beni time 2021-9-23 09:47:00\n
24
24
  '''
25
+ values = values or []
25
26
  assert len(values) <= 2, '参数过多'
26
27
  value1: str | None = values[0] if len(values) >= 1 else None
27
28
  value2: str | None = values[1] if len(values) >= 2 else None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bcmd
3
- Version: 0.0.22
3
+ Version: 0.0.23
4
4
  Summary: Commands for Beni
5
5
  Author: Beni Mang
6
6
  Author-email: benimang@126.com
@@ -2,7 +2,7 @@ aioconsole
2
2
  aiofiles
3
3
  aiohttp
4
4
  autopep8
5
- benimang>=0.4.11
5
+ benimang>=0.4.12
6
6
  build
7
7
  colorama
8
8
  nest-asyncio
@@ -3,7 +3,7 @@
3
3
 
4
4
  [project]
5
5
  name = 'bcmd'
6
- version = '0.0.22'
6
+ version = '0.0.23'
7
7
  description = 'Commands for Beni'
8
8
  requires-python = '>=3.10'
9
9
  keywords = ['benimang', 'beni', 'bcmd']
@@ -20,7 +20,7 @@ dependencies = [
20
20
  'aiofiles',
21
21
  'aiohttp',
22
22
  'autopep8',
23
- 'benimang>=0.4.11',
23
+ 'benimang>=0.4.12',
24
24
  'build',
25
25
  'colorama',
26
26
  'nest-asyncio',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes