Skip to content

Commit 738c8fc

Browse files
committed
lint
1 parent 83e0d72 commit 738c8fc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

games/game_baldursgate3.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from xml.etree import ElementTree
1919
from xml.etree.ElementTree import Element
2020

21+
import mobase
2122
from PyQt6 import QtCore
2223
from PyQt6.QtCore import (
2324
QCoreApplication,
@@ -36,8 +37,6 @@
3637
QProgressDialog,
3738
)
3839

39-
import mobase
40-
4140
from ..basic_features import (
4241
BasicGameSaveGameInfo,
4342
BasicLocalSavegames,
@@ -639,8 +638,6 @@ def metadata_to_ini(condition: bool, to_parse: Callable[[], Path]):
639638
force_recreate = bool(self._get_setting("force_reparse_metadata"))
640639
if rm_extracted is None:
641640
rm_extracted = bool(self._get_setting("remove_extracted_metadata"))
642-
if type(force_recreate) != bool or type(rm_extracted) != bool:
643-
return ""
644641
meta_ini = Path(mod.absolutePath()) / "meta.ini"
645642
config = configparser.ConfigParser()
646643
config.read(meta_ini, encoding="utf-8")

0 commit comments

Comments
 (0)