diff --git a/bin/blink b/bin/blink index 03a295ca94c33ab0aa0e5206feda96748cf76fab..562d08d085b268be8a80f2bbfae9b4cc92e30a97 100644 --- a/bin/blink +++ b/bin/blink @@ -8,7 +8,7 @@ import sys try: __file__ except NameError: - __file__ = file = sys.argv[0] + __file__ = sys.argv[0] script_dir = os.path.dirname(os.path.realpath(__file__)) parent_dir = os.path.dirname(script_dir) if os.path.basename(script_dir)=='bin' and os.path.exists(os.path.join(parent_dir, 'blink', '__init__.py')):