Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pyGuru123 committed Jan 7, 2022
1 parent 2a31d24 commit 29c4778
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<img src='https://img.shields.io/github/stars/pyGuru123/Decrypto?style=social'>
<img src='https://img.shields.io/github/forks/pyGuru123/Decrypto?style=social&logo=git'>
<img src='https://img.shields.io/badge/License-MIT-brightgreen'>
<img src='https://img.shields.io/maintenance/yes/2021'>
<img src='https://img.shields.io/maintenance/yes/2022'>
</p>

<p>
Expand Down
7 changes: 0 additions & 7 deletions decrypto/src/morse_code_cipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,3 @@ def decrypt(self, text: str) -> str:
result += self.reverse_morse.get(ch, ch)

return result

data = 'hello world 123 !'
cipher = MorseCodeCipher()
encrypted = cipher.encrypt(data)
decrypted = cipher.decrypt(encrypted)
print(encrypted)
print(decrypted)

0 comments on commit 29c4778

Please sign in to comment.