Put helper in cryptohelper

This commit is contained in:
amcmanu3 2024-08-11 13:46:53 -04:00
parent 9e5abe8014
commit e6a577c172
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,7 @@
class CryptoHelper:
def __init__(self, helper):
self.helper = helper
self.test = "hello world"
def say_hello_world(self):
print(self.test)

View File

@ -25,6 +25,7 @@ from contextlib import redirect_stderr, suppress
import libgravatar
from packaging import version as pkg_version
from app.classes.helpers.cryptography_helper import CryptoHelper
from app.classes.shared.null_writer import NullWriter
from app.classes.shared.console import Console
from app.classes.shared.installer import installer
@ -82,6 +83,7 @@ class Helpers:
self.ignored_names = ["crafty_managed.txt", "db_stats"]
self.crafty_starting = False
self.minimum_password_length = 8
self.crypto_helper = CryptoHelper(self)
@staticmethod
def auto_installer_fix(ex):