Skip to content

Commit

Permalink
adhere to updated interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloodmallet committed Nov 26, 2024
1 parent 5c08c18 commit 60ff4b8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions bloodytools/simulations/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
from bloodytools.utils.data_type import DataType
from bloodytools.utils.simulation_objects import Simulation_Group
from bloodytools.utils.utils import create_base_json_dict
from bloodytools.utils.profile_extraction import extract_profile, EmptyFileError
from bloodytools.utils.profile_extraction import (
CharacterSource,
extract_profile,
EmptyFileError,
)
from simc_support.game_data.WowSpec import WowSpec

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -394,7 +398,11 @@ def get_additional_talent_paths(
data_dict["profile"]["character"] = {}

try:
extract_profile("custom_profile.txt", self.wow_spec.wow_class)
extract_profile(
"custom_profile.txt",
self.wow_spec.wow_class,
character_source=CharacterSource.CUSTOM_PROFILE,
)
custom_profile = True
except EmptyFileError:
custom_profile = False
Expand Down

0 comments on commit 60ff4b8

Please sign in to comment.