From f9f12ffb618774d9f82b80216e03fa58e972c022 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 28 Aug 2016 01:10:28 -0400 Subject: [PATCH] move uri handler to packaging/uri_handler --- {lbrynet/packaging => packaging}/__init__.py | 0 .../packaging => packaging/uri_handler}/LBRYURIHandler.py | 0 packaging/uri_handler/__init__.py | 0 packaging/windows/lbry-win32-app/LBRYWin32App.py | 4 ++-- 4 files changed, 2 insertions(+), 2 deletions(-) rename {lbrynet/packaging => packaging}/__init__.py (100%) rename {lbrynet/packaging => packaging/uri_handler}/LBRYURIHandler.py (100%) create mode 100644 packaging/uri_handler/__init__.py diff --git a/lbrynet/packaging/__init__.py b/packaging/__init__.py similarity index 100% rename from lbrynet/packaging/__init__.py rename to packaging/__init__.py diff --git a/lbrynet/packaging/LBRYURIHandler.py b/packaging/uri_handler/LBRYURIHandler.py similarity index 100% rename from lbrynet/packaging/LBRYURIHandler.py rename to packaging/uri_handler/LBRYURIHandler.py diff --git a/packaging/uri_handler/__init__.py b/packaging/uri_handler/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/packaging/windows/lbry-win32-app/LBRYWin32App.py b/packaging/windows/lbry-win32-app/LBRYWin32App.py index 9af837361..b72617eaf 100644 --- a/packaging/windows/lbry-win32-app/LBRYWin32App.py +++ b/packaging/windows/lbry-win32-app/LBRYWin32App.py @@ -4,8 +4,8 @@ import socket import sys import threading import webbrowser -import win32api +import win32api import win32con import win32gui_struct from jsonrpc.proxy import JSONRPCProxy @@ -20,7 +20,7 @@ except ImportError: from lbrynet.lbrynet_daemon.LBRYDaemonServer import LBRYDaemonServer, LBRYDaemonRequest from lbrynet.conf import API_PORT, API_INTERFACE, ICON_PATH, APP_NAME from lbrynet.conf import UI_ADDRESS, API_CONNECTION_STRING -from lbrynet.packaging.LBRYURIHandler import LBRYURIHandler +from packaging.uri_handler.LBRYURIHandler import LBRYURIHandler if getattr(sys, 'frozen', False) and os.name == "nt":