diff --git a/bin/stashcp b/bin/stashcp index 608cc29..4847509 100755 --- a/bin/stashcp +++ b/bin/stashcp @@ -453,7 +453,7 @@ def get_best_stashcache(): if order_str == '': # Unable to find a geo_ip server to use, return random choice from caches! - minsite = random.choice(caches_list) + minsite = random.choice(caches_list)['name'] logging.error("Unable to use Geoip to find closest cache! Returning random cache %s", minsite) return minsite else: