Mercurial > libervia-backend
diff sat/core/constants.py @ 2628:779351da2c13
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.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 01 Jul 2018 20:37:58 +0200 |
parents | 56f94936df1e |
children | 712cb4ff3e13 |
line wrap: on
line diff
--- a/sat/core/constants.py Fri Jun 29 15:54:46 2018 +0200 +++ b/sat/core/constants.py Sun Jul 01 20:37:58 2018 +0200 @@ -172,7 +172,7 @@ 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 @@ 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 @@ "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" ]