mirror of
https://github.com/ModOrganizer2/modorganizer-installer_wizard.git
synced 2026-07-27 14:07:59 -07:00
Remove unused imports. Fix strings.
This commit is contained in:
+3
-3
@@ -1,11 +1,11 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
|
||||
from pathlib import Path
|
||||
from typing import Any, List, Mapping, Tuple, Union
|
||||
from typing import Any, List, Mapping, Tuple
|
||||
|
||||
from PyQt5.QtCore import Qt, pyqtSignal
|
||||
from PyQt5.QtGui import QPixmap, QKeySequence, QFontDatabase
|
||||
from PyQt5 import QtGui, QtWidgets
|
||||
from PyQt5 import QtWidgets
|
||||
|
||||
import mobase
|
||||
|
||||
@@ -29,7 +29,7 @@ from wizard.errors import WizardError
|
||||
from wizard.interpreter import WizardInterpreter
|
||||
from wizard.manager import SelectOption
|
||||
from wizard.runner import WizardRunnerState, WizardRunnerKeywordVisitor
|
||||
from wizard.tweaks import WizardINISetting, WizardINISettingEdit
|
||||
from wizard.tweaks import WizardINISetting
|
||||
|
||||
from .utils import make_ini_tweaks
|
||||
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ def make_obscript_ini_tweaks(tweaks: List[WizardINISetting]) -> str:
|
||||
|
||||
lines.append(line)
|
||||
|
||||
return "\n".join([f"; Generated by Mod Organizer 2 via Wizard"] + sorted(lines))
|
||||
return "\n".join(["; Generated by Mod Organizer 2 via Wizard"] + sorted(lines))
|
||||
|
||||
|
||||
def make_standard_ini_tweaks(tweaks: List[WizardINISetting]) -> str:
|
||||
|
||||
Reference in New Issue
Block a user