Minor changes.
This commit is contained in:
parent
0999349be5
commit
e9c618f506
|
@ -68,7 +68,7 @@ parser.add_option("--url", dest="url", help="Load a torrent from a URL",
|
||||||
|
|
||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
|
|
||||||
def fix_old_persistence_state():
|
def fix_old_persistent_state():
|
||||||
pstate_file_path = os.path.join(deluge.common.CONFIG_DIR,
|
pstate_file_path = os.path.join(deluge.common.CONFIG_DIR,
|
||||||
deluge.core.STATE_FILENAME)
|
deluge.core.STATE_FILENAME)
|
||||||
## The persistent_state object moved from the deluge.deluge module to the
|
## The persistent_state object moved from the deluge.deluge module to the
|
||||||
|
@ -108,7 +108,7 @@ Continuing...""" % pstate_file_path
|
||||||
def start_deluge():
|
def start_deluge():
|
||||||
print "Starting new Deluge session..."
|
print "Starting new Deluge session..."
|
||||||
|
|
||||||
fix_old_persistence_state()
|
fix_old_persistent_state()
|
||||||
|
|
||||||
interface = deluge.interface.DelugeGTK()
|
interface = deluge.interface.DelugeGTK()
|
||||||
add_args(interface)
|
add_args(interface)
|
||||||
|
|
Loading…
Reference in New Issue