Browse Source

fixed colours for brackets

import/heads/master
Cian Brennan 11 years ago
parent
commit
c4ecf14ce9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rbusers.py

+ 1
- 1
rbusers.py View File

@@ -7,7 +7,7 @@ users = utmp.UtmpRecord()
logged_users = {}
#two format strings, to take a/c of users with >10 sessions
format_string_norm = '%s%s \033[;0m\033[;032m(\033[;033m%d\033[;032m) '
format_string_10 = '%s%s\033[;0m(%d)'
format_string_10 = '%s%s\033[;0m\033];032m(\033[;033m%d\033[;032m)'
#set colours if we have an encoding
if sys.stdout.encoding is not None :
default_colour = '\033[;0m'


Loading…
Cancel
Save