Fixup use of conf dictionary for optional configuration

This commit is contained in:
James Page 2015-08-04 08:49:52 +02:00
commit 9b9673bd44

View File

@ -125,7 +125,7 @@ def config_changed():
sync_db_with_multi_ipv6_addresses(config('database'),
config('database-user'))
e_mountpoint = conf['ephemeral-unmount']
e_mountpoint = config('ephemeral-unmount')
if e_mountpoint and filesystem_mounted(e_mountpoint):
umount(e_mountpoint)