diff --git a/flatisfy/cmds.py b/flatisfy/cmds.py index 89af785..240ac45 100644 --- a/flatisfy/cmds.py +++ b/flatisfy/cmds.py @@ -252,4 +252,5 @@ def serve(config): # standard logging server = web_app.QuietWSGIRefServer - app.run(host=config["host"], port=config["port"], server=server) + print("Launching web viewer running on http://%s:%s" % (config["host"], config["port"])) + app.run(host=config["host"], port=config["port"], server=server) \ No newline at end of file diff --git a/flatisfy/config.py b/flatisfy/config.py index ecc6bc4..841ce9a 100644 --- a/flatisfy/config.py +++ b/flatisfy/config.py @@ -38,7 +38,12 @@ DEFAULT_CONFIG = { "bedrooms": (None, None), # (min, max) "minimum_nb_photos": None, # min number of photos "description_should_contain": [], # list of terms - "description_should_not_contain": [], # list of terms + "description_should_not_contain": [ # list of terms + "vendu", + "Vendu", + "VENDU", + "recherche" + ], "time_to": {} # Dict mapping names to {"gps": [lat, lng], # "time": (min, max), # "mode": Valid mode } diff --git a/flatisfy/web/js_src/i18n/fr/index.js b/flatisfy/web/js_src/i18n/fr/index.js index ccc44b1..2b45d0e 100644 --- a/flatisfy/web/js_src/i18n/fr/index.js +++ b/flatisfy/web/js_src/i18n/fr/index.js @@ -6,7 +6,7 @@ export default { 'More_about': 'Plus sur', 'Remove': 'Enlever', 'Restore': 'Remettre', - 'Original_post': 'Annonce originale | Annonces originales', + 'Original_post': 'Annonce originale | Annonces originales', 'Original_post_for': 'Annonce originale pour', 'Follow': 'Suivre', 'Unfollow': 'Arrêter de suivre', diff --git a/flatisfy/web/js_src/views/home.vue b/flatisfy/web/js_src/views/home.vue index ff794f1..076166a 100644 --- a/flatisfy/web/js_src/views/home.vue +++ b/flatisfy/web/js_src/views/home.vue @@ -17,7 +17,8 @@