forked from sch/Slixfeed
Fix error ModuleNotFoundError. Thank you roughnecks for the third time this evening!
This commit is contained in:
parent
395c2373ae
commit
be008fc6b5
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
from slixfeed.__main__ import Jabber
|
from slixfeed.__main__ import Jabber
|
||||||
from slixfeed.xmpp.client import Slixfeed
|
from slixfeed.xmpp.client import Slixfeed
|
||||||
import slixfeed.file as filehandler
|
from slixfeed.config import get_default_confdir
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
import configparser
|
import configparser
|
||||||
# import filehandler
|
# import filehandler
|
||||||
|
@ -85,7 +85,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
# Try configuration file
|
# Try configuration file
|
||||||
config = configparser.RawConfigParser()
|
config = configparser.RawConfigParser()
|
||||||
config_dir = filehandler.get_default_confdir()
|
config_dir = get_default_confdir()
|
||||||
if not os.path.isdir(config_dir):
|
if not os.path.isdir(config_dir):
|
||||||
os.mkdir(config_dir)
|
os.mkdir(config_dir)
|
||||||
# TODO Copy file from /etc/slixfeed/ or /usr/share/slixfeed/
|
# TODO Copy file from /etc/slixfeed/ or /usr/share/slixfeed/
|
||||||
|
|
Loading…
Reference in a new issue