Add absolute path to mpybit
This commit is contained in:
parent
85670f3ad6
commit
9f0eb0a24e
|
@ -1,5 +1,4 @@
|
||||||
kivy-garden.qrcode
|
kivy-garden.qrcode
|
||||||
-e git+https://github.com/kivymd/KivyMD#egg=kivymd
|
|
||||||
opencv-python
|
opencv-python
|
||||||
pyzbar
|
pyzbar
|
||||||
telenium
|
telenium
|
|
@ -36,7 +36,7 @@ class KivyStateVariables(object):
|
||||||
self.availabe_credit = 0
|
self.availabe_credit = 0
|
||||||
self.in_sent_method = False
|
self.in_sent_method = False
|
||||||
self.in_search_mode = False
|
self.in_search_mode = False
|
||||||
self.imageDir = None
|
self.imageDir = os.path.abspath(os.path.join('images', 'kivy'))
|
||||||
self.image_dir = os.path.abspath(os.path.join('images', 'kivy'))
|
self.image_dir = os.path.abspath(os.path.join('images', 'kivy'))
|
||||||
|
|
||||||
# self.sqlReady = False # set to true by sqlTread when ready for processing
|
# self.sqlReady = False # set to true by sqlTread when ready for processing
|
||||||
|
|
|
@ -11,8 +11,9 @@ Bitmessage android(mobile) interface
|
||||||
|
|
||||||
import importlib
|
import importlib
|
||||||
import json
|
import json
|
||||||
from bitmessagekivy.get_platform import platform
|
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
|
from bitmessagekivy.get_platform import platform
|
||||||
from bitmessagekivy import identiconGeneration
|
from bitmessagekivy import identiconGeneration
|
||||||
from bitmessagekivy import kivy_helper_search
|
from bitmessagekivy import kivy_helper_search
|
||||||
from bitmessagekivy.uikivysignaler import UIkivySignaler
|
from bitmessagekivy.uikivysignaler import UIkivySignaler
|
||||||
|
@ -274,12 +275,13 @@ class NavigateApp(MDApp):
|
||||||
self.data_screens, self.all_data, response = load_screen_json()
|
self.data_screens, self.all_data, response = load_screen_json()
|
||||||
self.kivy_state_obj = KivyStateVariables()
|
self.kivy_state_obj = KivyStateVariables()
|
||||||
|
|
||||||
|
kivy_state = KivyStateVariables()
|
||||||
previous_date = ObjectProperty()
|
previous_date = ObjectProperty()
|
||||||
obj_1 = ObjectProperty()
|
obj_1 = ObjectProperty()
|
||||||
identity_list = get_identity_list()
|
identity_list = get_identity_list()
|
||||||
nav_drawer = ObjectProperty()
|
nav_drawer = ObjectProperty()
|
||||||
state.screen_density = Window.size
|
kivy_state.screen_density = Window.size
|
||||||
window_size = state.screen_density
|
window_size = kivy_state.screen_density
|
||||||
app_platform = platform
|
app_platform = platform
|
||||||
title = "PyBitmessage"
|
title = "PyBitmessage"
|
||||||
imgstatus = False
|
imgstatus = False
|
||||||
|
|
|
@ -2,13 +2,14 @@
|
||||||
Ui Singnaler for kivy interface
|
Ui Singnaler for kivy interface
|
||||||
"""
|
"""
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
|
import logging
|
||||||
import queues
|
import queues
|
||||||
import state
|
import state
|
||||||
from kivy.app import App
|
from kivy.app import App
|
||||||
from debug import logger
|
|
||||||
from bitmessagekivy.baseclass.common import kivy_state_variables
|
from bitmessagekivy.baseclass.common import kivy_state_variables
|
||||||
|
|
||||||
|
logger = logging.getLogger('default')
|
||||||
|
|
||||||
|
|
||||||
class UIkivySignaler(Thread):
|
class UIkivySignaler(Thread):
|
||||||
"""Kivy ui signaler"""
|
"""Kivy ui signaler"""
|
||||||
|
|
Reference in New Issue
Block a user