Przeglądaj źródła

Directorio de base de datos custom

Gamaliel Espinoza 6 lat temu
rodzic
commit
b2f5e9cb16
3 zmienionych plików z 3 dodań i 3 usunięć
  1. 1 1
      README.md
  2. 1 1
      ondemand/service.py
  3. 1 1
      package.json

+ 1 - 1
README.md

@@ -6,7 +6,7 @@
 
 # Producción
 
-## Instalación y primera ejecución
+## Instalación y primera ejecución
 
 Desde la carpeta donde se hizo clone
 

+ 1 - 1
ondemand/service.py

@@ -39,7 +39,7 @@ device_id = config['device_id']
 device_path = os.path.join(base_path, device_id)
 recognizer = FilePerSecondRecognizer
 
-db_path = os.path.join(device_path, 'files.db')
+db_path = config.get('localDatabase', os.path.join(device_path, 'files.db'))
 db = sqlite3.connect(db_path)
 cloud_cache = {}
 

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "fourier-ondemand",
-  "version": "1.0.3b2",
+  "version": "1.0.4-rc1",
   "description": "",
   "main": "index.js",
   "dependencies": {