Browse Source

Correct own module import so it also works properly with python 3

Helmut Pozimski 11 years ago
parent
commit
a7e46736c0
4 changed files with 5 additions and 6 deletions
  1. 0 1
      TODO
  2. 1 1
      lib_stov/configuration.py
  3. 3 3
      lib_stov/subscription.py
  4. 1 1
      lib_stov/youtube.py

+ 0 - 1
TODO

@@ -4,5 +4,4 @@ TODOs for 0.6:
 *Compile localization files when installing instead of supplying binaries
 *Make the debian package lintian clean
 *Fix "C" locale
-*Fix python 3 module handling
 *Fix python version dependency

+ 1 - 1
lib_stov/configuration.py

@@ -23,7 +23,7 @@ import sys
 import sqlite3
 import subprocess
 
-from outputhelper import printf
+from lib_stov.outputhelper import printf
 
 
 class conf(object):

+ 3 - 3
lib_stov/subscription.py

@@ -27,10 +27,10 @@ if sys.version_info >= (3,):
 else:
 	import urllib2
 
-import youtubeAPI
-import youtube
+from lib_stov import youtubeAPI
+from lib_stov import youtube
 
-from outputhelper import printf
+from lib_stov.outputhelper import printf
 
 
 class sub(object):

+ 1 - 1
lib_stov/youtube.py

@@ -24,7 +24,7 @@ import gettext
 import sqlite3
 import subprocess
 
-from outputhelper import printf
+from lib_stov.outputhelper import printf
 
 
 class video(object):