Add Kivy default image path to kivy_state.py
This commit is contained in:
parent
c1e514d13c
commit
cb72b65264
|
@ -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()
|
||||||
|
|
Reference in New Issue
Block a user