Fix secure
This commit is contained in:
2
setup.py
2
setup.py
@@ -26,7 +26,7 @@ if not os.path.exists('/var/lib/wo/tmp/'):
|
|||||||
os.makedirs('/var/lib/wo/tmp/')
|
os.makedirs('/var/lib/wo/tmp/')
|
||||||
|
|
||||||
setup(name='wordops',
|
setup(name='wordops',
|
||||||
version='3.9.9.2',
|
version='3.9.9.3',
|
||||||
description=short_description,
|
description=short_description,
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import string
|
|||||||
class RANDOM:
|
class RANDOM:
|
||||||
"""Random strings generator"""
|
"""Random strings generator"""
|
||||||
|
|
||||||
def gen(self, length='24'):
|
def gen(self):
|
||||||
short_random = ''.join([random.choice
|
short_random = ''.join([random.choice
|
||||||
(string.ascii_letters + string.digits)
|
(string.ascii_letters + string.digits)
|
||||||
for n in range(length)])
|
for n in range(24)])
|
||||||
return short_random
|
return short_random
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ class WOVar():
|
|||||||
"""Intialization of core variables"""
|
"""Intialization of core variables"""
|
||||||
|
|
||||||
# WordOps version
|
# WordOps version
|
||||||
wo_version = "3.9.9.2"
|
wo_version = "3.9.9.3"
|
||||||
# WordOps packages versions
|
# WordOps packages versions
|
||||||
wo_wp_cli = "2.3.0"
|
wo_wp_cli = "2.3.0"
|
||||||
wo_adminer = "4.7.3"
|
wo_adminer = "4.7.3"
|
||||||
|
|||||||
Reference in New Issue
Block a user