Skip to content

Commit

Permalink
Added full python 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
K-DawG007 committed Nov 11, 2013
1 parent 0750eb1 commit 2e8ab24
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions courseradownloader/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
import tkMessageBox

except ImportError:
print 'Error: Tkinter module not found: Please use command line version instead'
try:
import tkinter as Tk
except ImportError:
print_('Error: Tkinter module not found: Please use command line version instead')

import courseradownloader as CS

Expand Down Expand Up @@ -149,7 +152,7 @@ def sort_to_send(self):
if self.mppl_entry.get():
if platform.system() == "Windows":
mppl = 90
print "Maximum length of a path component set to %s" % mppl
print_("Maximum length of a path component set to %s" % mppl)
else:
# linux max path length is typically around 4060 so assume thats ok
pass
Expand Down

0 comments on commit 2e8ab24

Please sign in to comment.