From e3cd1bae1d53745213211647d7e32c4308578aa9 Mon Sep 17 00:00:00 2001 From: Laharah Date: Mon, 30 Jan 2023 10:24:00 -0800 Subject: [PATCH] change imports for issue #53 --- filebottool/killableprocess.py | 2 +- filebottool/winprocess.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/filebottool/killableprocess.py b/filebottool/killableprocess.py index 0ce6507..7d3f245 100644 --- a/filebottool/killableprocess.py +++ b/filebottool/killableprocess.py @@ -66,7 +66,7 @@ def __str__(self): mswindows = (sys.platform == "win32") if mswindows: - import winprocess + from . import winprocess else: import signal diff --git a/filebottool/winprocess.py b/filebottool/winprocess.py index 8a1dcf4..2a12d1f 100644 --- a/filebottool/winprocess.py +++ b/filebottool/winprocess.py @@ -24,7 +24,7 @@ # DEALINGS IN THE SOFTWARE. from ctypes import c_void_p, POINTER, sizeof, Structure, windll, WinError, WINFUNCTYPE -from wintypes import BOOL, BYTE, DWORD, HANDLE, LPCWSTR, LPWSTR, UINT, WORD +from .wintypes import BOOL, BYTE, DWORD, HANDLE, LPCWSTR, LPWSTR, UINT, WORD LPVOID = c_void_p LPBYTE = POINTER(BYTE) diff --git a/setup.py b/setup.py index 6f4deb0..a89f128 100755 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ __plugin_name__ = "FileBotTool" __author__ = "laharah" __author_email__ = "laharah+fbt@gmail.com" -__version__ = "2.0.2" +__version__ = "2.0.3" __url__ = "https://github.com/Laharah/deluge-FileBotTool" __license__ = "GPLv3" __description__ = "Integrates FileBot functionality to Deluge"