Remove unused imports. Fix strings.

This commit is contained in:
Mikaël Capelle
2020-11-09 22:37:22 +01:00
parent c2b6d8da43
commit a6dadf39eb
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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
View File
@@ -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: