Pamhyr2: Fix PEP 8.

This commit is contained in:
parouby committed 2026-09-25 16:51:04 +02:00
1 parent 38d7d587fa
commit 9c2a0541df
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ from PyQt5.QtWidgets import (
QGroupBox, QTreeWidget,
)
from View.Ensembles.Edit.Translate import EnsembleEditTranslate
from View.Ensembles.Edit.Translate import EnsembleEditTranslate
logger = logging.getLogger()
+1
View File
@@ -114,6 +114,7 @@ class AddCommand(QUndoCommand):
else:
self._ensembles.insert(self._index, self._new)
class ImportCommand(QUndoCommand):
def __init__(self, ensembles, data, index):
QUndoCommand.__init__(self)
+1 -1
View File
@@ -215,7 +215,7 @@ class EnsemblesWindow(PamhyrWindow):
for e in self._ensembles.lst:
ens.append(e.get_data_dict(use_ids=True))
data = {"ensembles" : ens}
data = {"ensembles": ens}
def aux(filename):
with open(filename[0], 'w') as f: