Thread:Project talk:Support desk/problem in pywikibot login to third-party wiki (2)/reply (2)

Yes, as you see I want use http://westeros.ir/wiki/api.php and defined apipath in westeros_family.py file like this: def apipath(self, code): return '/wiki' I wonder why I'm receiving this error. I never mentioned '/w' folder anywhere! Is there any way to fix this?

PS: Thanks for adding to wikiapary.