Skip to content

Commit c9c6906

Browse files
#v1.3.2
Only Numeric now generates as its supposed to
1 parent 4807772 commit c9c6906

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# randomisedString v1.3.1
1+
# randomisedString v1.3.2
22

33
```pip install randomisedString --upgrade```
44

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "randomisedString"
9-
version = "1.3.1"
9+
version = "1.3.2"
1010
description = "A well maintained program to generate randomised strings. Can be used for assigning unique IDs of any specified size. Can be alpha only or numeric or alphanumeric as specified."
1111
readme = "README.md"
1212
maintainers = [{ name = "Bhindi", email = "[email protected]" }]

randomisedString.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "1.3.1"
1+
__version__ = "1.3.2"
22
__packagename__ = "randomisedstring"
33

44

@@ -72,7 +72,7 @@ def OnlyNumeric(self, _min=10, _max=20)->str:
7272
_maxLength += 1
7373
string = ''
7474
for _ in range(self.__randrange(_minLength, _maxLength)):
75-
string += chr(self.__choice(self.LOWER_CASE_ASCIIS+self.UPPER_CASE_ASCIIS))
75+
string += chr(self.__choice(self.NUMBER_ASCIIS))
7676
return string
7777

7878

0 commit comments

Comments
 (0)