romka1608 Posted January 16, 2017 Share 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 Link to comment Short link Share on other sites More sharing options...
Ekspoint Posted January 16, 2017 Share Posted January 16, 2017 у тебя есть лишняя запятая @ Quote Link to comment Short link Share on other sites More sharing options...
romka1608 Posted January 17, 2017 Author Share Posted January 17, 2017 (edited) у тебя есть лишняя запятая спасибо, исправил, но проблема не в этом. Эта ошибка появляеться во всем, что я пытаюсь импортировать. Edited January 18, 2017 by romka1608 @ Quote Link to comment Short link Share on other sites More sharing options...
fecell Posted January 20, 2017 Share Posted January 20, 2017 Читай тему ориона. @ Quote Link to comment Short link Share on other sites More sharing options...
Armagomen_UA Posted January 20, 2017 Share Posted January 20, 2017 (edited) del Edited January 25, 2017 by Armagomen_dev @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.