Skip to content

profiling.py errors by default #79

@md-5

Description

@md-5

[04:25:22] [ERROR] Error loading profiling.py:
Traceback (most recent call last):
File "/home/michael/CafeBabe/cloudbot/plugin.py", line 145, in load_plugin
plugin_module = importlib.import_module(module_name)
File "/usr/local/lib/python3.4/importlib/init.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 2254, in _gcd_import
File "", line 2237, in _find_and_load
File "", line 2226, in _find_and_load_unlocked
File "", line 1200, in _load_unlocked
File "", line 1129, in _exec
File "", line 1471, in exec_module
File "", line 321, in _call_with_frames_removed
File "/home/michael/CafeBabe/plugins/profiling.py", line 10, in
if cloudbot.dev_mode.get("pympler", False):
AttributeError: 'module' object has no attribute 'dev_mode'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions