Update widget build to use keyword args

This commit is contained in:
Thaynã B. Moretti 2019-05-13 20:29:09 -03:00
parent a2fb344aa7
commit e9afaa2e1b
No known key found for this signature in database
GPG key ID: 6F6E110817B19E8D

View file

@ -33,8 +33,8 @@ class Module(bumblebee.engine.Module):
del widgets[:] del widgets[:]
widgets.extend(( widgets.extend((
TrafficWidget(download_rate, ''), TrafficWidget(text=download_rate, icon=''),
TrafficWidget(upload_rate, '') TrafficWidget(text=upload_rate, icon='')
)) ))