From 185375b51e11f0d1d456776f6bce918defccbfc4 Mon Sep 17 00:00:00 2001 From: evilchili Date: Sat, 17 Feb 2024 16:58:33 -0800 Subject: [PATCH] cleanup --- random_sets/datasources.py | 1 - 1 file changed, 1 deletion(-) diff --git a/random_sets/datasources.py b/random_sets/datasources.py index c20c1ed..4d288a1 100644 --- a/random_sets/datasources.py +++ b/random_sets/datasources.py @@ -125,7 +125,6 @@ class DataSource: flattened = [] if not self.data[option]: return [option] - raise ValueError(f"There is no data for '{option}' in your data source.") if hasattr(self.data[option], 'keys'): # if the option is a dict, we assume the values are lists; we select a random item