passphera-core 0.3.3__tar.gz → 0.3.4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passphera-core
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: The core system of passphera project
5
5
  Home-page: https://github.com/passphera/core
6
6
  Author: Fathi Abdelmalek
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passphera-core
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: The core system of passphera project
5
5
  Home-page: https://github.com/passphera/core
6
6
  Author: Fathi Abdelmalek
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name='passphera-core',
8
- version='0.3.3',
8
+ version='0.3.4',
9
9
  author='Fathi Abdelmalek',
10
10
  author_email='abdelmalek.fathi.2001@gmail.com',
11
11
  url='https://github.com/passphera/core',
File without changes
@@ -222,9 +222,9 @@ class PasswordGenerator:
222
222
  self._password = self.generate_raw_password()
223
223
  self._algorithm_name = old_algorithm
224
224
  self._password = self.generate_raw_password()
225
- for char, replacement in self._chars_replacements.items():
226
- self._password = self._password.replace(char, replacement)
227
225
  for char in self._password:
228
226
  if char in self._text:
229
227
  self._password = self._password.replace(char, char.upper())
228
+ for char, replacement in self._chars_replacements.items():
229
+ self._password = self._password.replace(char, replacement)
230
230
  return self._password
File without changes