Fix error ModuleNotFoundError. Thank you roughnecks for the third time this evening!

This commit is contained in:
Schimon Jehudah 2023-12-28 18:23:16 +00:00
parent 395c2373ae
commit be008fc6b5

View file

@ -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/