core, frontends: replaced org\.goffi namespaces by org.salutatoi + fixed generation:
generation of D-Bus bridge has been broken by black formatting tool, this patch fixes this.
This commit is contained in:
parent
b9a6cdd785
commit
f2b1398a9f
1 changed files with 303 additions and 918 deletions
|
|
@ -172,7 +172,7 @@ class Const(object):
|
|||
if (
|
||||
BaseDirectory
|
||||
): # skipped when xdg module is not available (should not happen in backend)
|
||||
if "org.goffi.cagou.cagou" in BaseDirectory.__file__:
|
||||
if "org.salutatoi.cagou.cagou" in BaseDirectory.__file__:
|
||||
# FIXME: hack to make config read from the right location on Android
|
||||
# TODO: fix it in a more proper way
|
||||
|
||||
|
|
@ -184,8 +184,8 @@ class Const(object):
|
|||
|
||||
BaseDirectory = None
|
||||
DEFAULT_CONFIG = {
|
||||
"local_dir": "/data/data/org.goffi.cagou.cagou/app",
|
||||
"media_dir": "/data/data/org.goffi.cagou.cagou/files/app/media",
|
||||
"local_dir": "/data/data/org.salutatoi.cagou.cagou/app",
|
||||
"media_dir": "/data/data/org.salutatoi.cagou.cagou/files/app/media",
|
||||
# FIXME: temporary location for downloads, need to call API properly
|
||||
"downloads_dir": os.path.join(
|
||||
Environment.getExternalStoragePublicDirectory(
|
||||
|
|
@ -197,7 +197,7 @@ class Const(object):
|
|||
"log_dir": "%(local_dir)s",
|
||||
}
|
||||
CONFIG_FILES = [
|
||||
"/data/data/org.goffi.cagou.cagou/files/app/android/"
|
||||
"/data/data/org.salutatoi.cagou.cagou/files/app/android/"
|
||||
+ APP_NAME_FILE
|
||||
+ ".conf"
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue