da-rth / yasb

A highly configurable cross-platform (Windows) status bar written in Python.
MIT License
1.29k stars 78 forks source link

fix: traffic widget walidation error caused my improper indentation #135

Open alu826 opened 4 months ago

alu826 commented 4 months ago

Pull Request #113

Description

When you first run the script with python src/main.py, you get an error:

The config file 'C:\Users\me\.yasb\config.yaml' contains validation errors. Please fix:
widgets:
- traffic:
  - null value not allowed

This is caused by two missing indents for the traffic object in config.yaml.

Also removed extra indents in the wifi config to keep its formatting consistent with the rest of the config.

Related Issue

113

Testing

run python src/main.py and it runs without issue :)