Add Kivy default image path to kivy_state.py

This commit is contained in:
shekhar-cis 2022-08-08 19:52:25 +05:30
parent c1e514d13c
commit cb72b65264
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7

View File

@ -5,6 +5,9 @@ Kivy State variables are assigned here, they are separated from state.py
================================= =================================
""" """
import os
import threading
class KivyStateVariables(object): class KivyStateVariables(object):
"""This Class hold all the kivy state variables""" """This Class hold all the kivy state variables"""
@ -33,4 +36,5 @@ class KivyStateVariables(object):
self.available_credit = 0 self.available_credit = 0
self.in_sent_method = False self.in_sent_method = False
self.in_search_mode = 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()