changeset 124:ff6ce18cb0be

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 03 Nov 2020 14:54:01 -0800
parents 6bdf817a9e34
children 9fb80d39af55
files bitsyblog/settings.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyblog/settings.py	Tue Nov 03 14:52:46 2020 -0800
+++ b/bitsyblog/settings.py	Tue Nov 03 14:54:01 2020 -0800
@@ -1,7 +1,7 @@
 """user settings / preferences"""
 
-import parser # bitsyblog dateutils.parser with mods to retain strftime format
-import utils
+from . import parser # bitsyblog dateutils.parser with mods to retain strftime format
+from . import utils
 
 
 class InvalidSettingError(Exception):
@@ -9,6 +9,7 @@
 
 
 class Setting(object):
+
     def __init__(self, name, value=None):
         self.name = name
         self.value = value