mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
20 lines
849 B
Diff
20 lines
849 B
Diff
diff --git a/src/objects/bandsplitmodule.c b/src/objects/bandsplitmodule.c
|
|
index b8290c0..4f7c547 100644
|
|
--- a/src/objects/bandsplitmodule.c
|
|
+++ b/src/objects/bandsplitmodule.c
|
|
@@ -1636,7 +1636,7 @@ MultiBandMain_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
|
static PyObject *
|
|
MultiBandMain_setFrequencies(MultiBandMain* self, PyObject *arg) {
|
|
int i, bounds = self->nbands - 1;
|
|
- if PyList_Check(arg) {
|
|
+ if (PyList_Check(arg)) {
|
|
if (PyList_Size(arg) == bounds) {
|
|
for (i=0; i<bounds; i++) {
|
|
MultiBandMain_compute_variables(self, PyFloat_AsDouble(PyList_GetItem(arg, i)), i);
|
|
@@ -1967,4 +1967,4 @@ PyTypeObject MultiBandType = {
|
|
0, /* tp_init */
|
|
0, /* tp_alloc */
|
|
MultiBand_new, /* tp_new */
|
|
-};
|
|
\ No newline at end of file
|
|
+};
|