Fix processing of translated news

This commit is contained in:
zzz
2015-07-27 18:10:01 +00:00
parent d848a19ab0
commit 9efe60d7a8
3 changed files with 10 additions and 2 deletions

View File

@ -406,7 +406,9 @@ class NewsFetcher extends UpdateRunner {
if (_tempFile.exists() && _tempFile.length() > 0) {
File from;
if (url.endsWith(".su3")) {
// TODO check magic number instead?
// But then a corrupt file would be displayed as-is...
if (url.endsWith(".su3") || url.contains(".su3?")) {
try {
from = processSU3();
} catch (IOException ioe) {