This commit is contained in:
KnugiHK
2023-06-21 17:01:14 +08:00
parent e243abe2a4
commit 032af6cdcf
3 changed files with 38 additions and 28 deletions

View File

@@ -1,7 +1,6 @@
import os
from datetime import datetime
from typing import Union
from Whatsapp_Chat_Exporter.utility import Device
class ChatStore():
@@ -12,6 +11,7 @@ class ChatStore():
self.messages = {}
self.type = type
if media is not None:
from Whatsapp_Chat_Exporter.utility import Device
if self.type == Device.IOS:
self.my_avatar = os.path.join(media, "Media/Profile/Photo.jpg")
elif self.type == Device.ANDROID: