import pywikibot
mylang = 'en'
family = 'salemwitchipedia'
usernames['salemwitchipedia']['en'] = u'fibrotramp'
site = pywikibot.Site('en', 'salemwitchipedia')
---------------------------------------------------------------------------
UnknownFamily                             Traceback (most recent call last)
<ipython-input-7-3bb5f5a47969> in <module>()
      2 mylang = 'en'
      3 family = 'salemwitchipedia'
----> 4 site = pywikibot.Site('en', 'salemwitchipedia')

/srv/paws/pwb/pywikibot/__init__.py in Site(code, fam, user, sysop, interface, url)
   1193 
   1194         if not isinstance(fam, Family):
-> 1195             fam = Family.load(fam)
   1196 
   1197     interface = interface or fam.interface(code)

/srv/paws/pwb/pywikibot/tools/__init__.py in wrapper(*__args, **__kw)
   1456                              cls, depth)
   1457                     del __kw[old_arg]
-> 1458             return obj(*__args, **__kw)
   1459 
   1460         if not __debug__:

/srv/paws/pwb/pywikibot/family.py in load(fam)
    935                 return Family._families[fam]
    936         else:
--> 937             raise UnknownFamily('Family %s does not exist' % fam)
    938 
    939         try:

UnknownFamily: Family salemwitchipedia does not exist