more minor readability changes
This commit is contained in:
parent
24f9ea1e52
commit
f2bd86b458
@ -123,8 +123,7 @@ else:
|
||||
pp = pprint.PrettyPrinter(indent=4)
|
||||
current_output = pp.pformat(state)
|
||||
|
||||
# We don't care if the volume or currently-playing song has changed, only
|
||||
# the playlist
|
||||
# We don't care if the volume or currently-playing song has changed, only the playlist
|
||||
strip = re.compile(r'\s*?[\'\"](consume|current|random|repeat|single|state|time|volume)[\'\"]:\s*?[\'\"].*?[\'\"],?');
|
||||
curr = strip.sub('', current_output)
|
||||
prev = strip.sub('', backup_output)
|
||||
@ -140,4 +139,4 @@ else:
|
||||
client.close()
|
||||
client.disconnect()
|
||||
|
||||
# vim: set expandtab shiftwidth=4 softtabstop=4 textwidth=79:
|
||||
# vim: set expandtab shiftwidth=4 softtabstop=4 :
|
||||
|
Loading…
Reference in New Issue
Block a user