Don't use logging before it's set up

This commit is contained in:
Daniel Martí 2014-02-19 01:14:40 +01:00
parent 687057a473
commit 9d8c576cb1
1 changed files with 1 additions and 1 deletions

2
fdroid
View File

@ -58,7 +58,7 @@ def main():
print_help()
sys.exit(0)
else:
logging.error("Command '" + command + "' not recognised.\n")
print "Command '%s' not recognised.\n" % command
print_help()
sys.exit(1)