Skip to content

Commit 6a17ba4

Browse files
committed
revert forced changing of extension at read in
1 parent 1feb597 commit 6a17ba4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bayes_opt/util.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,6 @@ def load_logs(optimizer, logs):
210210
logs = [logs]
211211

212212
for log in logs:
213-
if not (Path(log).suffix) == '.log':
214-
warnings.warn('overwriting log extension with *.log"')
215-
log = str(Path(log).with_suffix('.log'))
216213
with open(log, "r") as j:
217214
while True:
218215
try:

0 commit comments

Comments
 (0)