Skip to content

run.py doesn't handle properly missing BACKUP_DEFAULT_DEST #1294

@karlcow

Description

@karlcow
→ python run.py --backup
('secrets', '/Users/karl/code/webcompat.com')
Traceback (most recent call last):
  File "run.py", line 125, in <module>
    if not os.path.exists(app.config['BACKUP_DEFAULT_DEST']):
KeyError: 'BACKUP_DEFAULT_DEST'

Also there is a big cleanup to do for the syntax, lines too long, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions