diff options
Diffstat (limited to 'web')
-rwxr-xr-x | web/updatelang.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/web/updatelang.py b/web/updatelang.py index 5bde56a..bac1be1 100755 --- a/web/updatelang.py +++ b/web/updatelang.py @@ -29,7 +29,7 @@ def populate(): for x in langs: files[i][x]={} - print(str(files)) + #print(str(files)) # Creates/Loads stuff @@ -105,12 +105,11 @@ def readPoFile(nf, lg): ctx=line.replace('"\n','').replace('\\"','"').replace('msgid "', "") if "msgstr " in line and ctx != "": if line != 'msgstr ""\n': - print("Recording") files[nf][lg][ctx]=line.replace('"\n', '').replace('\\"','"').replace('msgstr "', "") - print(str(files[nf][lg])) else: files[nf][lg][ctx]=ctx ctx="" + a.close() def writeLocal(nf, lg): |