Remove unnecessary cwd. It is the default anyway.
This commit is contained in:
parent
98a545e166
commit
9f7a7ca3f7
1 changed files with 1 additions and 1 deletions
|
@ -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.')
|
||||||
|
|
Loading…
Reference in a new issue