added back stdoubt

This commit is contained in:
Roy 2024-02-16 04:30:02 -08:00 committed by GitHub
parent d8b392efe2
commit 3686a6323a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1039,6 +1039,7 @@ if new_shortcuts_added or shortcuts_updated:
# Print the shortcut information in JSON format # Print the shortcut information in JSON format
message = json.dumps(shortcut_info) message = json.dumps(shortcut_info)
print(message, flush=True) # Print to stdout
pipe.write(message + '\n') # Write to the pipe pipe.write(message + '\n') # Write to the pipe
print("All finished!") print("All finished!")