Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fixed color values in data generator

Artur Smęta12c7bd43ab6
diff --git a/utils/create_random_data.py b/utils/create_random_data.py
index 4fae14eb8d..1d3edbca83 100644
--- a/utils/create_random_data.py
+++ b/utils/create_random_data.py
@@ -18,7 +18,7 @@ def create_color(**kwargs):
defaults = {
'name': fake.word(),
- 'color': '#%02X%02X%02X' % (r(), r(), r())
+ 'color': '%02X%02X%02X' % (r(), r(), r())
}
defaults.update(kwargs)