Remove unnecessary cwd. It is the default anyway.

This commit is contained in:
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

View file

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