N3RDIUM / PyTaskbar

The Ultimate python taskbar progress package!
MIT License
18 stars 4 forks source link

Replace if block with match block #6

Closed LiamSwayne closed 6 months ago

LiamSwayne commented 6 months ago

A match block makes more sense than an if block in this scenario because the cases are mutually exclusive. The code has been made more concise, and match blocks are more efficient (although I haven't extensively tested the code).

N3RDIUM commented 6 months ago

Lgtm. Thank you for your interest in PyTaskbar. Will merge now