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
2 files changed
+2
-1
No files matched your search
@@ -114,6 +114,7 @@ class AddCommand(QUndoCommand):
|
|||||||
else:
|
else:
|
||||||
self._ensembles.insert(self._index, self._new)
|
self._ensembles.insert(self._index, self._new)
|
||||||
|
|
||||||
|
|
||||||
class ImportCommand(QUndoCommand):
|
class ImportCommand(QUndoCommand):
|
||||||
def __init__(self, ensembles, data, index):
|
def __init__(self, ensembles, data, index):
|
||||||
QUndoCommand.__init__(self)
|
QUndoCommand.__init__(self)
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ class EnsemblesWindow(PamhyrWindow):
|
|||||||
for e in self._ensembles.lst:
|
for e in self._ensembles.lst:
|
||||||
ens.append(e.get_data_dict(use_ids=True))
|
ens.append(e.get_data_dict(use_ids=True))
|
||||||
|
|
||||||
data = {"ensembles" : ens}
|
data = {"ensembles": ens}
|
||||||
|
|
||||||
def aux(filename):
|
def aux(filename):
|
||||||
with open(filename[0], 'w') as f:
|
with open(filename[0], 'w') as f:
|
||||||
|
|||||||
Reference in new issue
Block a user