summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/rotormodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c
index ea91af0..0377832 100644
--- a/Modules/rotormodule.c
+++ b/Modules/rotormodule.c
@@ -597,10 +597,9 @@ rotor_rotor(PyObject *self, PyObject *args)
{
Rotorobj *r;
char *string;
- int len;
int num_rotors = 6;
- if (!PyArg_ParseTuple(args, "s#|i:newrotor", &string, &len, &num_rotors))
+ if (!PyArg_ParseTuple(args, "s|i:newrotor", &string, &num_rotors))
return NULL;
r = rotorobj_new(num_rotors, string);