diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2013-06-02 06:34:26 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2013-06-02 06:34:26 (GMT) |
commit | a2181bd9f4cade2b4e1d401e9fd1b643a0b6e030 (patch) | |
tree | d77ba346d7283aa14e53c3ee76b350b6f05b51c3 | |
parent | 284b7b9f03a27317793c7ae000b9f03a062e5243 (diff) |
Do not save empty titles while importing strings from ASLO
-rwxr-xr-x | misc/aslo-sync | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/aslo-sync b/misc/aslo-sync index 0ba1a67..02da0ab 100755 --- a/misc/aslo-sync +++ b/misc/aslo-sync @@ -629,7 +629,8 @@ class Application(application.Application): translations WHERE id = %s""" % an_id): - result[locale.lower()] = value + if value: + result[locale.lower()] = value return result def sqlexec(self, text): |