If $img is an xml file fallback ro ascii mode

This commit is contained in:
Dylan 2016-02-09 21:30:41 +11:00
parent f1450d1fc8
commit e050ba6d1a
1 changed files with 3 additions and 0 deletions

3
fetch
View File

@ -1490,6 +1490,9 @@ getwallpaper () {
esac esac
;; ;;
esac esac
# If img is an xml file don't use it.
[ "${img/*\./}" == "xml" ] && img=""
} }
# }}} # }}}