Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
zim514 committed Dec 27, 2023
1 parent 475c0c0 commit 9114590
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
6 changes: 4 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
requests==2.31.0
rollbar~=0.15.2
polib
Pillow
polib~=1.2.0
Pillow~=10.1.0
Kodistubs~=20.0.1
six~=1.16.0
urllib3~=2.1.0
1 change: 0 additions & 1 deletion script.service.hue/addon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<import addon="script.module.requests" version="2.27.1"/>
<import addon="script.module.pil"/>
<import addon="script.module.pyrollbar" version="0.15.2"/>
<import addon="script.module.simplejson" version="3.19.1"/>
</requires>
<extension point="xbmc.service" name="service.hue" library="service.py"/>
<extension point="xbmc.python.pluginsource" library="plugin.py">
Expand Down
1 change: 0 additions & 1 deletion script.service.hue/resources/lib/ambigroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

from threading import Thread

import requests
import xbmc
import xbmcgui
from PIL import Image
Expand Down
2 changes: 1 addition & 1 deletion script.service.hue/resources/lib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# This file is part of script.service.hue
# SPDX-License-Identifier: MIT
# See LICENSE.TXT for more information.
from datetime import datetime
import json
import sys
import threading
from datetime import datetime

import xbmc

Expand Down
10 changes: 4 additions & 6 deletions script.service.hue/resources/lib/hue.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@
# This file is part of script.service.hue
# SPDX-License-Identifier: MIT
# See LICENSE.TXT for more information.
import json
from socket import getfqdn

from urllib.parse import urljoin
import requests
from requests.exceptions import HTTPError, ConnectionError, Timeout
import urllib3
from urllib.parse import urljoin

import simplejson as json
import datetime

import xbmc
import xbmcgui
from . import ADDON, TIMEOUT, NOTIFICATION_THRESHOLD, MAX_RETRIES, reporting


from . import ADDON, TIMEOUT, NOTIFICATION_THRESHOLD, MAX_RETRIES, reporting
from .kodiutils import notification, convert_time
from .language import get_string as _

Expand Down

0 comments on commit 9114590

Please sign in to comment.