Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,3 @@ def main():
print(json.dumps(event_data, indent=2))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Structure: The removal of the if __name__ == "__main__": block and main() function call suggests this script is being converted from a directly executable script to an importable module. If this is intentional, please ensure all dependent code that might have executed this script directly is updated accordingly.

except Exception as e:
print(f"Error reading event data: {e}")

if __name__ == "__main__":
main()