Fix a couple more relative imports
This commit is contained in:
parent
c3ae7df79e
commit
4565bc4ab3
|
@ -228,7 +228,7 @@ class MainInterface(object):
|
|||
"torrent_finished_alert", torrent_finished_cb))
|
||||
|
||||
def add_torrent(self, t_uri=None):
|
||||
from TorrentSelector import TorrentSelector
|
||||
from .TorrentSelector import TorrentSelector
|
||||
TorrentSelector(self.win, self.session, t_uri)
|
||||
|
||||
def run(self):
|
||||
|
@ -577,7 +577,7 @@ class ItemMenu(Menu):
|
|||
)
|
||||
|
||||
def files_cb(menu, it, h):
|
||||
from TorrentProps import TorrentFiles
|
||||
from .TorrentProps import TorrentFiles
|
||||
TorrentFiles(h)
|
||||
self.item_add(
|
||||
it, "Files", None,
|
||||
|
|
Loading…
Reference in New Issue