Remove unnecessary cwd. It is the default anyway.

master
voussoir 2021-10-02 12:45:51 -07:00
parent 98a545e166
commit 9f7a7ca3f7
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def etiquette_flask_launch(
site.localhost_only = True site.localhost_only = True
try: try:
backend.common.init_photodb(path=pathclass.cwd()) backend.common.init_photodb()
except etiquette.exceptions.NoClosestPhotoDB as exc: except etiquette.exceptions.NoClosestPhotoDB as exc:
log.error(exc.error_message) log.error(exc.error_message)
log.error('Try `etiquette_cli.py init` to create the database.') log.error('Try `etiquette_cli.py init` to create the database.')