From cb72b65264ebe5c7e85fbe497ed2090aa75ae3dc Mon Sep 17 00:00:00 2001 From: shekhar-cis Date: Mon, 8 Aug 2022 19:52:25 +0530 Subject: [PATCH] Add Kivy default image path to kivy_state.py --- src/bitmessagekivy/kivy_state.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bitmessagekivy/kivy_state.py b/src/bitmessagekivy/kivy_state.py index 6ce16610..2f74cf89 100644 --- a/src/bitmessagekivy/kivy_state.py +++ b/src/bitmessagekivy/kivy_state.py @@ -5,6 +5,9 @@ Kivy State variables are assigned here, they are separated from state.py ================================= """ +import os +import threading + class KivyStateVariables(object): """This Class hold all the kivy state variables""" @@ -33,4 +36,5 @@ class KivyStateVariables(object): self.available_credit = 0 self.in_sent_method = False self.in_search_mode = False - self.image_dir = None + self.image_dir = os.path.abspath(os.path.join('images', 'kivy')) + self.kivyui_ready = threading.Event()