Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
battery status changes are now written to stderr so they dont show up…
… in dzen
  • Loading branch information
teleshoes committed May 19, 2011
1 parent db42953 commit 4b3744e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battstatus.py
Expand Up @@ -37,7 +37,7 @@ def smapi_get(batt_id, prop):

def smapi_set(batt_id, prop, val):
try:
print "setting BAT" + str(batt_id) + "/" + prop + " => " + val
print >> sys.stderr, "setting BAT" + str(batt_id) + "/" + prop + " => " + val
p = Popen([SMAPI_BATTACCESS, '-s', str(batt_id), prop, val])
p.wait()
except:
Expand Down

0 comments on commit 4b3744e

Please sign in to comment.