Skip to content

Commit

Permalink
add missing staticmethod decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
furlongm committed Mar 30, 2016
1 parent 5d07e4d commit dab945a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openvpn-monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ def print_session_table_headers(vpn_mode):
def print_session_table_footer():
print('</tbody></table>')

@staticmethod
def print_unavailable_vpn(vpn):
anchor = vpn['name'].lower().replace(' ', '_')
print('<div class="panel panel-danger" id="{0!s}">'.format(anchor))
Expand Down

0 comments on commit dab945a

Please sign in to comment.