Loading

Paste #ppwljoajq

  1. diff -r 8ce7d725753d scripts/lang_sync
  2. --- a/scripts/lang_sync Sun Jan 10 19:43:08 2016 +0100
  3. +++ b/scripts/lang_sync Sat Apr 02 20:44:15 2016 +0200
  4. @@ -644,6 +644,9 @@
  5.          with open(ll.path_name, 'r', encoding = 'utf-8') as handle:
  6.              data = handle.read()
  7.  
  8. +        if len(data) == 0:
  9. +            continue
  10. +
  11.          fields = {'override' : '',
  12.                    'base_language' : blng_value}
  13.          fname = os.path.basename(ll.path_name)
  14.  

Comments