Prepare for standalone binary

https://github.com/KnugiHK/Whatsapp-Chat-Exporter/issues/29
This commit is contained in:
Knugi
2023-02-12 08:15:40 +00:00
committed by KnugiHK
parent 77ceaa25dd
commit 4d6c80b561

View File

@@ -1,5 +1,9 @@
from .__init__ import __version__
from Whatsapp_Chat_Exporter import extract, extract_iphone
try:
from .__init__ import __version__
except ImportError:
from Whatsapp_Chat_Exporter.__init__ import __version__
from Whatsapp_Chat_Exporter import extract_new as extract
from Whatsapp_Chat_Exporter import extract_iphone
from Whatsapp_Chat_Exporter import extract_iphone_media
from Whatsapp_Chat_Exporter.extract import Crypt
from optparse import OptionParser