Skip to content

Commit

Permalink
This workaround is not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
julik committed Aug 6, 2013
1 parent 7b34b3e commit 1816640
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions projectionist.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import nuke, nukescripts, os, sys, re, inspect
__version__ = (2, 0, 0) \

# In Nuke's loading cycle __file__ is not defined
# so we have to create one ;-)
# http://farmdev.com/src/secrets/framehack/
__file__ = sys._getframe().f_code.co_filename

MY_MODULE_DIR = os.path.dirname(os.path.abspath(__file__))
# Use self-detecting path for icons.
ICONS_PATH = os.path.join(MY_MODULE_DIR, "icons")
Expand Down

0 comments on commit 1816640

Please sign in to comment.