diff --git a/dzgui.sh b/dzgui.sh index bcf9acd..7f07460 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -527,7 +527,7 @@ fetch_dzq(){ fetch_helpers_by_sum(){ declare -A sums sums=( - ["ui.py"]="62731f2c617f11c057c43951283807b5" + ["ui.py"]="5e1d2af6cdd122d810de01a2252d1839" ["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["funcs"]="73898be7185d77ccdc67ace906a7db2c" @@ -552,7 +552,7 @@ fetch_helpers_by_sum(){ if [[ ! $? -eq 0 ]]; then raise_error_and_quit "Failed to fetch the file '$file'. Possible timeout?" fi - if [[ $(get_hash) $full_path != $sum ]]; then + if [[ $(get_hash $full_path) != $sum ]]; then logger WARN "Downloaded new '$file', but checksum != '$sum'" fi logger INFO "Updated '$full_path' to sum '$sum'" diff --git a/helpers/ui.py b/helpers/ui.py index 89142d7..5bf28b9 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -1396,12 +1396,12 @@ class Grid(Gtk.Grid): self.set_column_homogeneous(True) #self.set_row_homogeneous(True) - _news = sys.argv[2] self._version = "%s %s" %(app_name, sys.argv[3]) + _news = sys.argv[2] if _news != "null": self.news = NewsHeader(_news) - self.attach(self.news, 0, -1, 8, 10) + #self.attach(self.news, 0, -1, 8, 10) self.scrollable_treelist = ScrollableTree(is_steam_deck) if is_steam_deck is True: