remove default site from guibulkimport
This commit is contained in:
parent
ecb9c35522
commit
ed8966a498
|
@ -344,7 +344,7 @@ def main(argv=None):
|
|||
help=_("Input file in quiet mode"))
|
||||
parser.add_option("-q", "--quiet", action="store_false", dest="gui", default=True,
|
||||
help=_("don't start gui; deprecated (just give a filename with -f)."))
|
||||
parser.add_option("-c", "--convert", dest="filtername", default="PokerStars", metavar="FILTER",
|
||||
parser.add_option("-c", "--convert", dest="filtername", default=None, metavar="FILTER",
|
||||
help=_("Conversion filter (*Full Tilt Poker, PokerStars, Everleaf, Absolute)"))
|
||||
parser.add_option("-x", "--failOnError", action="store_true", default=False,
|
||||
help=_("If this option is passed it quits when it encounters any error"))
|
||||
|
@ -389,6 +389,8 @@ def main(argv=None):
|
|||
main_window.show()
|
||||
gtk.main()
|
||||
else:
|
||||
if not options.filtername:
|
||||
print _("You have to select a site with the -c parameter. E.g.:"), "Everleaf converter: ./GuiBulkImport.py -c Everleaf -f filename"
|
||||
#Do something useful
|
||||
importer = fpdb_import.Importer(False,settings, config, None)
|
||||
# importer.setDropIndexes("auto")
|
||||
|
|
Loading…
Reference in New Issue
Block a user