Changeset 203:eb612f84e6fc for pynxt

Show
Ignore:
Timestamp:
10/29/07 23:01:24 (14 months ago)
Author:
David Anderson <dave@…>
Branch:
default
Message:

Fix an unknown variable error.

The magic symbol for the filename of the running python script is file,
not FILE.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pynxt/nxt/flash.py

    r153 r203  
    99# The flash driver binary should be located directly inside the nxt 
    1010# package. 
    11 FLASH_DRIVER_PATH = os.path.join(os.path.dirname(__FILE__), 'flash_driver.bin') 
     11FLASH_DRIVER_PATH = os.path.join(os.path.dirname(__file__), 'flash_driver.bin') 
    1212 
    1313# Mnemonics for the addresses of the various registers used by the flash