From df21afef0dac67fe24a81d94b5127f716dcc7898 Mon Sep 17 00:00:00 2001 From: Lucas Thode Date: Thu, 25 Nov 2010 11:59:25 -0600 Subject: [PATCH] Revert "Fixed pygauge traceback for Noctis" This reverts commit 8d0c1444778cd348830621f88495b4886e1bef40. Fix should be in eos, not pyfa. --- gui/builtinStatsViews/resourcesViewFull.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/builtinStatsViews/resourcesViewFull.py b/gui/builtinStatsViews/resourcesViewFull.py index 80967805f..eccbac060 100644 --- a/gui/builtinStatsViews/resourcesViewFull.py +++ b/gui/builtinStatsViews/resourcesViewFull.py @@ -214,7 +214,7 @@ class ResourcesViewFull(StatsView): gauge = getattr(self, "gauge%s%s" % (panel, capitalizedType)) resUsed = getattr(fit,"%sUsed" % resourceType) - gauge.SetValueRange(resUsed or 0, resMax[i]() or 0) + gauge.SetValueRange(resUsed, resMax[i]()) i+=1 else: