Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rgowthaman committed May 1, 2022
1 parent 8118013 commit dd6450d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion GenPasswd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Generate a strong password which includes alphabets, numbers, special characters"""

__version__ = '1.3.3'
__version__ = '1.3.4'

from .__main__ import get_argument, generate_password, main
from .genpasswd import PasswordGenerator
2 changes: 1 addition & 1 deletion GenPasswd/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

def get_argument():
parser = argparse.ArgumentParser(usage="genpasswd [options]")
parser.add_argument('-v', '--version', action='version', help='show version number and exit.', version="1.3.3")
parser.add_argument('-v', '--version', action='version', help='show version number and exit.', version="1.3.4")
group = parser.add_argument_group("to customize Password")
group.add_argument("-l", "--length", dest="length", type=int, metavar='', help="to set length to the password")
group.add_argument("-n", "--ignore", dest="ignore", metavar='',
Expand Down
2 changes: 1 addition & 1 deletion GenPasswd/genpasswd.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __check(self):
self.__error = ValueError('[-] Password length must be less.')

def __separated_pass(self):
if self.separator is bool:
if type(self.separator) is bool:
self.separator = constants.DEFAULT_SEPARATOR
if not self.separator_length:
self.separator_length = constants.DEFAULT_SEPARATE_LENGTH
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setuptools.setup(
name='genpasswd',
packages=setuptools.find_packages(),
version='1.3.3',
version='1.3.4',
license='MIT',
description='To generate random and strong passwords.',
author='Gowthaman',
Expand Down

0 comments on commit dd6450d

Please sign in to comment.