Python start_activity() returning error

I need a way to select the specific wireless network I’m connecting to. I’ve come to the conclusion that the only way to do that with Appium is to start the WiFi settings activity.

I’m using Appium 1.3.4.1. I downloaded an app to make sure I got the name of the WiFi settings correct as com.android.settings.wifi.WiFiSetupActivity

The line that is failing is:

self.driver.start_activity(‘com.android.settings.wifi’, ‘.WiFiSetupActivity’)

The error I get is:
File “C:\Python34\lib\site-packages\appium\webdriver\webdriver.py”, line 552, in start_activity
for key in arguments.iterkeys():
AttributeError: ‘dict’ object has no attribute ‘iterkeys’

Is iterkeys() a typo?

UPDATE:
I’ve gotten a little further along with this issue. I’m able to bring up the Wireless Selection screen with:

call(“adb shell “am start --user 0 -n com.android.settings/.wifi.WifiSetupActivity””)

However, interacting with the dialog, and then getting back to my app once the network has switched is still proving to be problematic.