mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-03-15 02:22:33 +00:00
Refactor
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user