mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-22 14:04:40 +00:00
Add main entry point
Added a main entry point in __main__.py to allow running the exporter as a script. Required for standalone binary
This commit is contained in:
@@ -730,4 +730,7 @@ def main():
|
|||||||
# Handle media directory
|
# Handle media directory
|
||||||
handle_media_directory(args)
|
handle_media_directory(args)
|
||||||
|
|
||||||
print("Everything is done!")
|
print("Everything is done!")
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user