Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rupor-github committed Apr 22, 2018
1 parent 7586619 commit 49801c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions fb2mobi.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,9 @@ def process(myargs):
elif os.path.exists(os.path.join(application_path, myargs.config_file)):
# found relative to program directory
config_file = os.path.join(application_path, myargs.config_file)
else:
print('Unable to locate configuration file "{0}"'.format(myargs.config_file))
sys.exit(-1)
else:
config_file = os.path.join(os.path.expanduser('~'), 'fb2mobi' if version.WINDOWS else '.fb2mobi', config_file_name)
if not os.path.exists(config_file):
Expand Down
6 changes: 4 additions & 2 deletions synccovers.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import os, sys

import os
import sys
import traceback
import argparse

import version

from modules.mobi_split import mobi_read
Expand Down

0 comments on commit 49801c0

Please sign in to comment.