Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions EnigmaCracker-Docker/EC.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@
# Get the absolute path of the directory where the script is located
directory = os.path.dirname(os.path.abspath(__file__))
# Initialize directory paths
log_file_path = os.path.join(directory, LOG_FILE_NAME)
log_file_path = os.path.join(directory, "data", LOG_FILE_NAME)
env_file_path = os.path.join(directory, ENV_FILE_NAME)
wallets_file_path = os.path.join(directory, WALLETS_FILE_NAME)
wallets_file_path = os.path.join(directory, "data", WALLETS_FILE_NAME)

# Check if data folder exist else create
if not os.path.exists(os.path.join(directory, "data")):
os.makedirs(os.path.join(directory, "data"))

# Configure logging
logging.basicConfig(
Expand Down