diff options
Diffstat (limited to '')
-rw-r--r-- | examples/plugins/snmp | 4 | ||||
-rw-r--r-- | examples/plugins/snmp6 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/plugins/snmp b/examples/plugins/snmp index cdde03d..d514ae8 100644 --- a/examples/plugins/snmp +++ b/examples/plugins/snmp @@ -1,7 +1,7 @@ # -*- python -*- ''' xpybar – xmobar replacement written in python -Copyright © 2014, 2015, 2016, 2017 Mattias Andrée (maandree@member.fsf.org) +Copyright © 2014, 2015, 2016, 2017, 2018 Mattias Andrée (maandree@kth.se) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ index = 0 start_ = start def start(): start_() - async(lambda : clock.continuous_sync(lambda : bar.invalidate())) + xasync(lambda : clock.continuous_sync(lambda : bar.invalidate())) def redraw(): text = '%s: %i' % (keys[index], SNMP()[keys[index]]) diff --git a/examples/plugins/snmp6 b/examples/plugins/snmp6 index 0535543..7d9e080 100644 --- a/examples/plugins/snmp6 +++ b/examples/plugins/snmp6 @@ -1,7 +1,7 @@ # -*- python -*- ''' xpybar – xmobar replacement written in python -Copyright © 2014, 2015, 2016, 2017 Mattias Andrée (maandree@member.fsf.org) +Copyright © 2014, 2015, 2016, 2017, 2018 Mattias Andrée (maandree@kth.se) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ index = 0 start_ = start def start(): start_() - async(lambda : clock.continuous_sync(lambda : bar.invalidate())) + xasync(lambda : clock.continuous_sync(lambda : bar.invalidate())) def redraw(): text = '%s: %i' % (keys[index], SNMP6()[keys[index]]) |