Skip to content

Commit

Permalink
Fixed wrong reference to config
Browse files Browse the repository at this point in the history
Signed-off-by: Branko Vukelic <[email protected]>
  • Loading branch information
Branko Vukelic committed Nov 16, 2015
1 parent 5a2d82a commit 3dcc6cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions librarian/utils/import_daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ def generate_file_list(app):


def check_for_updates(app):
config = app.config
conf = app.config
meta_filename = conf['content.metadata']
archive = open_archive(config=config)
archive = open_archive(config=conf)
updates = generate_file_list(app)
for path in updates:
for path, _ in updates:
cid = zipballs.get_md5_from_path(path)
args=(archive, cid, config)
args = (archive, cid, conf)
app.exts.tasks.schedule(add_file, args=args)
app.exts.tasks.schedule(schedule_check, args=(app,), kwargs={'delay': 600})

Expand Down

0 comments on commit 3dcc6cc

Please sign in to comment.