Skip to content

Commit

Permalink
Adding safe for older versions of ninja.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsargiot committed Apr 29, 2013
1 parent bd0381c commit 44affb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debugger_plugin/Debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ def initialize(self):
"""
DebugPlugin.instance = self

if not hasattr(self, 'logger'):
self.logger = logging.getLogger(__name__)

self.logger.info("Initializing plugin.")

# Basic services
Expand Down

0 comments on commit 44affb3

Please sign in to comment.