mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Pamhyr2: Fix PEP 8.
This commit is contained in:
1 parent
38d7d587fa
commit
9c2a0541df
3 files changed
+3
-2
No files matched your search
@@ -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()
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user