We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3853764 + 1d3dd91 commit 492fae9Copy full SHA for 492fae9
1 file changed
bin/stashcp
@@ -564,7 +564,7 @@ def get_best_stashcache():
564
565
if order_str == '':
566
# Unable to find a geo_ip server to use, return random choice from caches!
567
- minsite = random.choice(caches_list)
+ minsite = random.choice(caches_list)['name']
568
random.shuffle(caches_list)
569
nearest_cache_list = [cache['name'] for cache in caches_list]
570
logging.error("Unable to use Geoip to find closest cache! Returning random cache %s", minsite)
0 commit comments