]> git.lizzy.rs Git - torbrowser-launcher.git/commitdiff
Use relative import
authorsedrubal <dev@sedrubal.de>
Wed, 9 Nov 2016 02:08:34 +0000 (03:08 +0100)
committersedrubal <dev@sedrubal.de>
Wed, 9 Nov 2016 02:08:34 +0000 (03:08 +0100)
I'm not really sure with these imports but it worked for me with python2
and 3 :wink:

torbrowser_launcher/__init__.py

index a03d6398461450fe2e02a2536c90a5ce0fc2f3a2..9998d876ba7b132cd32402cf0443ee00dc09c061 100644 (file)
@@ -28,9 +28,9 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 import os, sys, argparse
 
-from common import Common, SHARE
-from settings import Settings
-from launcher import Launcher
+from .common import Common, SHARE
+from .settings import Settings
+from .launcher import Launcher
 
 def main():
     # parse arguments