Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

fix flake

Lydia Xinge2240a396aa8
diff --git a/wger/utils/helpers.py b/wger/utils/helpers.py
index 00babfe97..9a30e5004 100644
--- a/wger/utils/helpers.py
+++ b/wger/utils/helpers.py
@@ -264,6 +264,7 @@ def levenshtein(s1, s2):
distances = distances_
return distances[-1]
+
def random_string(length=32):
"""
Generates a random string