Decide whether a command that updates metadata should also write tags, using the importer configuration as the default.
(write_opt=None)
| 148 | |
| 149 | |
| 150 | def should_write(write_opt=None): |
| 151 | """Decide whether a command that updates metadata should also write |
| 152 | tags, using the importer configuration as the default. |
| 153 | """ |
| 154 | return _bool_fallback(write_opt, config["import"]["write"].get(bool)) |
| 155 | |
| 156 | |
| 157 | def should_move(move_opt=None): |
no test coverage detected