Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-2751

Errors in __init__.py

    XMLWordPrintable

Details

    Description

      Today I downloaded send2trash. An error occurred during installation which was due to the code in init.py. The periods in front of the plat_xxx statements caused syntax errors:

      if sys.platform == u'darwin':
      from .plat_osx import send2trash
      elif sys.platform == u'win32':
      from .plat_win import send2trash
      else:
      from .plat_other import send2trash

      Easily fixed. The program worked fine once this was corrected. Thanks for sharing your work.
      Gary Richardson

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: