mirror of
https://github.com/unode/firefox_decrypt.git
synced 2025-12-16 12:01:52 +01: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