diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-07 10:40:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-07 10:40:39 +0300 |
commit | 404f9ddc37fcd0a3d3377beddfeb8c1e0dce977b (patch) | |
tree | 22f737fdaa403cec4df1e81918318ba6e01bcc64 /release/scripts/startup/bl_operators/image.py | |
parent | bf010c4a15840964ec92912e5582095d029bc314 (diff) |
Cleanup: use staticmethods
Diffstat (limited to 'release/scripts/startup/bl_operators/image.py')
-rw-r--r-- | release/scripts/startup/bl_operators/image.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/image.py b/release/scripts/startup/bl_operators/image.py index 1653459bd71..f00f5d97c5e 100644 --- a/release/scripts/startup/bl_operators/image.py +++ b/release/scripts/startup/bl_operators/image.py @@ -33,7 +33,8 @@ class EditExternally(Operator): subtype='FILE_PATH', ) - def _editor_guess(self, context): + @staticmethod + def _editor_guess(context): import sys image_editor = context.user_preferences.filepaths.image_editor |