mirror of
https://github.com/unode/firefox_decrypt.git
synced 2026-05-26 11:24:21 +02:00
BUG Fix missing newline in last line of JSON output
This commit is contained in:
@@ -588,6 +588,8 @@ class HumanOutputFormat(OutputFormat):
|
||||
class JSONOutputFormat(OutputFormat):
|
||||
def output(self):
|
||||
sys.stdout.write(json.dumps(self.pwstore, indent=2))
|
||||
# Json dumps doesn't add the final newline
|
||||
sys.stdout.write("\n")
|
||||
|
||||
|
||||
class CSVOutputFormat(OutputFormat):
|
||||
|
||||
Reference in New Issue
Block a user