mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-04 07:03:44 +01:00
Couple minor fixes.
This commit is contained in:
parent
83b48d15d8
commit
7f47100db4
2 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,8 @@ from PyQt4.Qt import (QDialog, QWidget, QVBoxLayout, QHBoxLayout, QLabel,
|
|||
QCheckBox, QPushButton, QTabWidget, QVariant, QScrollArea,
|
||||
QDialogButtonBox )
|
||||
|
||||
from calibre.utils.config import JSONConfig
|
||||
from calibre.gui2.ui import get_gui
|
||||
from calibre.gui2 import dynamic, info_dialog
|
||||
|
||||
from calibre_plugins.fanfictiondownloader_plugin.prefs import prefs, PREFS_NAMESPACE
|
||||
from calibre_plugins.fanfictiondownloader_plugin.dialogs \
|
||||
|
|
|
|||
|
|
@ -1668,7 +1668,7 @@ class FanFictionDownLoaderPlugin(InterfaceAction):
|
|||
# identifiers have :->| in uri.
|
||||
# print("uri from ident uri:%s"%identifiers['uri'].replace('|',':'))
|
||||
return identifiers['uri'].replace('|',':')
|
||||
elif path.lower().endswith('.epub'):
|
||||
elif path and path.lower().endswith('.epub'):
|
||||
existingepub = path
|
||||
|
||||
## only epub has URL in it--at least where I can easily find it.
|
||||
|
|
|
|||
Loading…
Reference in a new issue