Merge pull request #657 from CommandMC/fix/config
Always invoke the root command as `whipper`
This commit is contained in:
@@ -33,7 +33,7 @@ def main():
|
||||
musicbrainzngs.set_hostname(server['netloc'])
|
||||
|
||||
try:
|
||||
cmd = Whipper(sys.argv[1:], os.path.basename(sys.argv[0]), None)
|
||||
cmd = Whipper(sys.argv[1:], 'whipper', None)
|
||||
ret = cmd.do()
|
||||
except SystemError as e:
|
||||
logger.critical("SystemError: %s", e)
|
||||
|
||||
Reference in New Issue
Block a user