Skip to content

Commit

Permalink
Fix #2: reverse flags
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Mar 4, 2016
1 parent 3f19d81 commit 76379da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions psup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ def settings(self):
resp = self.command('GETS')
return tuple(_numfields(resp, (3, 3)))
def enable(self):
"""Enable output."""
self.command('SOUT', '1')
def disable(self):
"""Enable output."""
self.command('SOUT', '0')
def disable(self):
"""Disable output."""
self.command('SOUT', '1')

# Context manager.
def __enter__(self):
Expand Down

0 comments on commit 76379da

Please sign in to comment.