bugfix
This commit is contained in:
parent
3580406e13
commit
69f18111df
@ -42,12 +42,6 @@ class ServerInfo:
|
||||
self.publickey = None
|
||||
self.authCode = None
|
||||
|
||||
def realurl(url):
|
||||
if url.startswith('https://') or url.startswith('http://'):
|
||||
return url
|
||||
config = getConfig()
|
||||
return '%s%s' % (config.uihome, url)
|
||||
|
||||
def getServerPK(self):
|
||||
config = getConfig()
|
||||
url = '%s%s' % (config.uihome, config.publickey_url)
|
||||
@ -105,6 +99,12 @@ class BlocksApp(App):
|
||||
return Label(text='error')
|
||||
return x
|
||||
|
||||
def realurl(self, url):
|
||||
if url.startswith('https://') or url.startswith('http://'):
|
||||
return url
|
||||
config = getConfig()
|
||||
return '%s%s' % (config.uihome, url)
|
||||
|
||||
def get_user_data_path(self):
|
||||
if platform == 'android':
|
||||
Environment = autoclass('android.os.Environment')
|
||||
|
Loading…
Reference in New Issue
Block a user