1. Bitbucket Website
  2. Public Issue Tracker
  3. master

Issues

Issue #2751 invalid

Errors in __init__.py

Anonymous created an issue

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

Comments (1)

  1. Log in to comment