diff --git a/setup.py b/setup.py index be28dd0..cd2a888 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ if not os.path.exists('/var/lib/wo/tmp/'): os.makedirs('/var/lib/wo/tmp/') setup(name='wordops', - version='3.9.9.2', + version='3.9.9.3', description=short_description, long_description=long_description, long_description_content_type="text/markdown", diff --git a/wo/core/random.py b/wo/core/random.py index f6ff3b0..d8dc66e 100644 --- a/wo/core/random.py +++ b/wo/core/random.py @@ -5,8 +5,8 @@ import string class RANDOM: """Random strings generator""" - def gen(self, length='24'): + def gen(self): short_random = ''.join([random.choice (string.ascii_letters + string.digits) - for n in range(length)]) + for n in range(24)]) return short_random diff --git a/wo/core/variables.py b/wo/core/variables.py index 67c86dd..5e452b7 100644 --- a/wo/core/variables.py +++ b/wo/core/variables.py @@ -13,7 +13,7 @@ class WOVar(): """Intialization of core variables""" # WordOps version - wo_version = "3.9.9.2" + wo_version = "3.9.9.3" # WordOps packages versions wo_wp_cli = "2.3.0" wo_adminer = "4.7.3"