Commit 5a89d4361c0847beaf159994a06725fe5a644935

Authored by Erickson Silva
1 parent 54b3e62e
Exists in devel

[TranslationServer] Adiciona '_' nos paths dos estados

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/TranslationServer.py
@@ -101,7 +101,7 @@ def list_bundles(): @@ -101,7 +101,7 @@ def list_bundles():
101 BUNDLES_LIST[platform] = {} 101 BUNDLES_LIST[platform] = {}
102 for state in states: 102 for state in states:
103 try: 103 try:
104 - BUNDLES_LIST[platform].update({state:set(os.listdir(os.path.join(path, state)))}) 104 + BUNDLES_LIST[platform].update({state:set(os.listdir(os.path.join(path, "_"+state)))})
105 except OSError: 105 except OSError:
106 BUNDLES_LIST[platform].update({state:set([])}) 106 BUNDLES_LIST[platform].update({state:set([])})
107 107