(opts)
| 464 | |
| 465 | |
| 466 | def writeConfig(opts): |
| 467 | try: |
| 468 | with open(join(homedir, ".pyloadcli"), "w") as cfgfile: |
| 469 | cfgfile.write("[cli]") |
| 470 | for opt in opts: |
| 471 | cfgfile.write("%s=%s\n" % (opt, opts[opt])) |
| 472 | except: |
| 473 | print _("Couldn't write user config file") |
| 474 | |
| 475 | |
| 476 | def main(): |