flagify-com/OctoMation

两个应用使用datetime模块,一个正常,一个报AttributeError: module 'datetime' has no attribute 'now'

Closed this issue · 1 comments

由于Python引擎的机制,不会对系统模块进行reload,需要把所有app中的datetime引入都换成,import datetime.然后重启执行java-exe-python这个容器