Add absolute path to mpybit

This commit is contained in:
shekhar-cis 2022-09-07 20:38:29 +05:30
parent 85670f3ad6
commit 9f0eb0a24e
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7
4 changed files with 9 additions and 7 deletions

View File

@ -1,5 +1,4 @@
kivy-garden.qrcode
-e git+https://github.com/kivymd/KivyMD#egg=kivymd
opencv-python
pyzbar
telenium

View File

@ -36,7 +36,7 @@ class KivyStateVariables(object):
self.availabe_credit = 0
self.in_sent_method = 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.sqlReady = False # set to true by sqlTread when ready for processing

View File

@ -11,8 +11,9 @@ Bitmessage android(mobile) interface
import importlib
import json
from bitmessagekivy.get_platform import platform
import os
import sys
from bitmessagekivy.get_platform import platform
from bitmessagekivy import identiconGeneration
from bitmessagekivy import kivy_helper_search
from bitmessagekivy.uikivysignaler import UIkivySignaler
@ -274,12 +275,13 @@ class NavigateApp(MDApp):
self.data_screens, self.all_data, response = load_screen_json()
self.kivy_state_obj = KivyStateVariables()
kivy_state = KivyStateVariables()
previous_date = ObjectProperty()
obj_1 = ObjectProperty()
identity_list = get_identity_list()
nav_drawer = ObjectProperty()
state.screen_density = Window.size
window_size = state.screen_density
kivy_state.screen_density = Window.size
window_size = kivy_state.screen_density
app_platform = platform
title = "PyBitmessage"
imgstatus = False

View File

@ -2,13 +2,14 @@
Ui Singnaler for kivy interface
"""
from threading import Thread
import logging
import queues
import state
from kivy.app import App
from debug import logger
from bitmessagekivy.baseclass.common import kivy_state_variables
logger = logging.getLogger('default')
class UIkivySignaler(Thread):
"""Kivy ui signaler"""