~webmaster-drarok/enso/commands

« back to all changes in this revision

Viewing changes to open.py

  • Committer: Drarok
  • Date: 2009-02-23 16:02:16 UTC
  • Revision ID: drarok-20090223160216-xttvrgbtabk58nl1
* Rolled back, line endings were broken.
* Removed extra, un-needed check.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
    try:
70
70
        file = os.path.normpath(os.path.join(LEARN_AS_DIR, name))
71
 
        if os.path.isfile(file + ".lnk") or os.path.isfile(file + ".LNK"):
 
71
        if os.path.isfile(file + ".lnk"):
72
72
            file += ".lnk"
73
73
        else:
74
74
            file += ".url"