romka1608 0 Posted January 16, 2017 (edited) Помогите пожалуйста решить проблему import BigWorld from notification.NotificationListView import NotificationListView old_populate = NotificationListView._populate def new_populate(self): message = { 'typeID': 2, 'message': { 'bgIcon': '', 'defaultIcon': '', 'savedData': 0, 'timestamp': -1, 'filters': [], 'message': 'Hello from the hell', 'type': 'black', 'icon': '', }, 'entityID': 9999, 'auxData': ['GameGreeting'] } old_populate(self) self.as_appendMessageS(message) NotificationListView._populate = new_populate Ошибка: Traceback (most recent call last): *** File "F:\PjOrion 1.3.2 with P2.7\wottransmission.zip\wottransmission\transmitter.py", line 91, in orion_transfer_check *** exec compile(code,'','exec') in sys.modules['__main__'].__dict__ *** File "<string>", line 7 *** SyntaxError: can't assign to literal Edited January 16, 2017 by romka1608 Quote Share this post Link to post Short link Share on other sites
Ekspoint 2,122 #375333 Posted January 16, 2017 у тебя есть лишняя запятая Quote Share this post Link to post Short link Share on other sites
romka1608 0 #375473 Posted January 17, 2017 (edited) у тебя есть лишняя запятая спасибо, исправил, но проблема не в этом. Эта ошибка появляеться во всем, что я пытаюсь импортировать. Edited January 18, 2017 by romka1608 Quote Share this post Link to post Short link Share on other sites
fecell 125 #376128 Posted January 20, 2017 Читай тему ориона. Quote Share this post Link to post Short link Share on other sites
Armagomen_UA 158 #376136 Posted January 20, 2017 (edited) del Edited January 25, 2017 by Armagomen_dev Quote Share this post Link to post Short link Share on other sites