Minor changes.

This commit is contained in:
Alex Dedul 2007-07-15 01:17:59 +00:00
parent 0999349be5
commit e9c618f506
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ parser.add_option("--url", dest="url", help="Load a torrent from a URL",
(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,
deluge.core.STATE_FILENAME)
## The persistent_state object moved from the deluge.deluge module to the
@ -108,7 +108,7 @@ Continuing...""" % pstate_file_path
def start_deluge():
print "Starting new Deluge session..."
fix_old_persistence_state()
fix_old_persistent_state()
interface = deluge.interface.DelugeGTK()
add_args(interface)