fix: Used wrong file by default

This commit is contained in:
PapaTutuWawa 2021-06-13 21:22:58 +02:00
parent 9bd218b201
commit d2900f92c4

View File

@ -132,7 +132,7 @@ def main():
parser.add_option('-d', '--debug', dest='debug', parser.add_option('-d', '--debug', dest='debug',
help='Enable debug logging', action='store_true') help='Enable debug logging', action='store_true')
parser.add_option('-c', '--config', dest='config', help='Location of the config.toml', parser.add_option('-c', '--config', dest='config', help='Location of the config.toml',
default='/etc/mira/storage.json') default='/etc/mira/config.toml')
(options, args) = parser.parse_args() (options, args) = parser.parse_args()
verbosity = logging.DEBUG if options.debug else logging.INFO verbosity = logging.DEBUG if options.debug else logging.INFO