Skip to content

Commit

Permalink
run black on handler
Browse files Browse the repository at this point in the history
  • Loading branch information
MialLewis committed Dec 19, 2023
1 parent f6a8f59 commit e3414cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion EVSVesuvio/scripts/handle_config.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
import os
from shutil import copyfile, copytree, ignore_patterns


def __parse_config_env_var():
env_var = os.getenv('VESUVIOPROPERTIES')
env_var = os.getenv("VESUVIOPROPERTIES")
if env_var:
config_path, config_file = os.path.split(env_var)
else:
config_path = os.path.join(os.path.expanduser("~"), ".mvesuvio")
config_file = "vesuvio.user.properties"
return config_path, config_file


### PATH CONSTANTS ###
VESUVIO_CONFIG_PATH, VESUVIO_CONFIG_FILE = __parse_config_env_var()
VESUVIO_INPUTS_FILE = "analysis_inputs.py"
Expand All @@ -18,6 +20,7 @@ def __parse_config_env_var():
VESUVIO_IPFOLDER_PATH = os.path.join(VESUVIO_CONFIG_PATH, "ip_files")
######################


def __read_config(config_file_path, throw_on_not_found=True):
lines = ""
try:
Expand Down

0 comments on commit e3414cf

Please sign in to comment.