make punctuation for # work

This commit is contained in:
Chrys 2020-01-10 17:39:46 +01:00
parent 340421ce5a
commit b4e6b50530

View File

@ -101,7 +101,8 @@ class punctuationManager():
if line.replace(" ","") == '': if line.replace(" ","") == '':
continue continue
if line.replace(" ","").startswith("#"): if line.replace(" ","").startswith("#"):
continue if not line.replace(" ","").startswith("#:===:"):
continue
if line.replace(" ","").upper().startswith("[") and \ if line.replace(" ","").upper().startswith("[") and \
line.replace(" ","").upper().endswith("DICT]"): line.replace(" ","").upper().endswith("DICT]"):
currDictName = line[line.find('[') + 1 :line.upper().find('DICT]') + 4].upper() currDictName = line[line.find('[') + 1 :line.upper().find('DICT]') + 4].upper()