Opened 14 years ago

Last modified 14 years ago

#7574 closed defect

Wrong import statement in screenshot plugin core — at Version 1

Reported by: anonymous Owned by: Radek Bartoň
Priority: normal Component: ScreenshotsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

beastsoft:0.11#svn diff

Index: tracscreenshots/core.py
===================================================================
--- tracscreenshots/core.py     (revision 8503)
+++ tracscreenshots/core.py     (working copy)
@@ -1,9 +1,10 @@
 # -*- coding: utf-8 -*-

-import sys, re, os, os.path, shutil, mimetypes, unicodedata, Image, ImageOps
+import sys, re, os, os.path, shutil, mimetypes, unicodedata
 from datetime import *
 from zipfile import *
 from StringIO import *
+from PIL import Image, ImageOps

 # Deprecated as for Python 2.6.
 try:

Change History (1)

comment:1 Changed 14 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.