Skip to content

Commit 4e672a7

Browse files
Berserker66qwint
authored andcommitted
Core: make open_filename log that it's asking (ArchipelagoMW#3199)
1 parent 1656c52 commit 4e672a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@ def get_fuzzy_ratio(word1: str, word2: str) -> float:
619619

620620
def open_filename(title: str, filetypes: typing.Sequence[typing.Tuple[str, typing.Sequence[str]]], suggest: str = "") \
621621
-> typing.Optional[str]:
622+
logging.info(f"Opening file input dialog for {title}.")
623+
622624
def run(*args: str):
623625
return subprocess.run(args, capture_output=True, text=True).stdout.split("\n", 1)[0] or None
624626

0 commit comments

Comments
 (0)