Commit 0488a2ce098cbb6713632cb3fd644cdac825d2f1
1 parent
72b2015a
Exists in
master
and in
1 other branch
Corrigindo Path do AplicaRegras.py
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/AplicaRegras.py
| ... | ... | @@ -33,7 +33,7 @@ class AplicaRegras(object): |
| 33 | 33 | # Gera arvore a partir do arquivos regras.xml |
| 34 | 34 | def get_root(self): |
| 35 | 35 | if platform.system() == 'Windows': |
| 36 | - return ET.parse(expanduser("~")+'\vlibras-translate\data\regras.xml').getroot() | |
| 36 | + return ET.parse(environ.get("HOMEDRIVE")+'\\vlibras-libs\vlibras-translate\data\regras.xml').getroot() | |
| 37 | 37 | return ET.parse(expanduser("~")+'/vlibras-translate/data/regras.xml').getroot() |
| 38 | 38 | |
| 39 | 39 | # Aplica regras morfológicas apartir do arquivo regras.xml | ... | ... |