Skip to content

Commit

Permalink
Fix escaped unicode output.
Browse files Browse the repository at this point in the history
Non-ASCII Unicode should be outputted correctly now instead of being escaped (\u####).

Closes #4.
  • Loading branch information
GurpreetKang committed Mar 13, 2021
1 parent f5355f4 commit d935454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BitwardenDecrypt.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

# Copyright (c) 2020 Gurpreet Kang
# Copyright © 2020-2021 Gurpreet Kang
# All rights reserved.
#
# Released under the "GNU General Public License v3.0". Please see the LICENSE.
Expand Down Expand Up @@ -308,7 +308,7 @@ def decryptBitwardenJSON(inputfile):

decryptedEntries[group] = groupItemsList

return(json.dumps(decryptedEntries, indent=2))
return(json.dumps(decryptedEntries, indent=2, ensure_ascii=False))


def main():
Expand Down

0 comments on commit d935454

Please sign in to comment.