Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 56965e3

Browse files
committed
Patch for an Issue #990
1 parent 9b32e69 commit 56965e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/utils/hash.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ def dictionaryAttack(attack_dict):
840840
try:
841841
process.terminate()
842842
process.join()
843-
except OSError:
843+
except (OSError, AttributeError):
844844
pass
845845

846846
finally:
@@ -934,7 +934,7 @@ class Value():
934934
try:
935935
process.terminate()
936936
process.join()
937-
except OSError:
937+
except (OSError, AttributeError):
938938
pass
939939

940940
finally:

0 commit comments

Comments
 (0)