Fixed logic error and PEP8 changes

When creating the logging directory we were referring to the variable
before assigning it.
Also did some code clean up as per PEP8 (although I saw no need to trim
the web links). Cleaned up a duplicate import.
This will now only run for one minute.
We also wait for 15 frames before taking a shot in an attempt to produce
fewer duff (black) images.
Program to rotate the motor.

Interactive program to rotate a motor.