Added comments support on .terminatorrc

This commit is contained in:
Nicolas Valcárcel 2008-02-26 13:03:41 -05:00
parent a4013ad0f3
commit 84b984dc0c
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ class TerminatorTerm:
for line in config: for line in config:
try: try:
line = line.split("#")[0]
line = line.strip () line = line.strip ()
if line: if line:
(key,value) = line.split ("=") (key,value) = line.split ("=")