mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
Remove constance from thirdpart
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
from django.utils.importlib import import_module
|
||||
|
||||
|
||||
def import_module_attr(path):
|
||||
package, module = path.rsplit('.', 1)
|
||||
return getattr(import_module(package), module)
|
Reference in New Issue
Block a user