Edit wac.py to check for instance of basestring rather than pagination object