From be008fc6b54110c201d7b2e66ed9a959c44a5a5c Mon Sep 17 00:00:00 2001 From: Schimon Jehudah Date: Thu, 28 Dec 2023 18:23:16 +0000 Subject: [PATCH] Fix error ModuleNotFoundError. Thank you roughnecks for the third time this evening! --- slixfeed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slixfeed.py b/slixfeed.py index 113d75f..91a35b4 100644 --- a/slixfeed.py +++ b/slixfeed.py @@ -20,7 +20,7 @@ from slixfeed.__main__ import Jabber from slixfeed.xmpp.client import Slixfeed -import slixfeed.file as filehandler +from slixfeed.config import get_default_confdir from argparse import ArgumentParser import configparser # import filehandler @@ -85,7 +85,7 @@ if __name__ == '__main__': # Try configuration file config = configparser.RawConfigParser() - config_dir = filehandler.get_default_confdir() + config_dir = get_default_confdir() if not os.path.isdir(config_dir): os.mkdir(config_dir) # TODO Copy file from /etc/slixfeed/ or /usr/share/slixfeed/