Commit 9edbca53 authored by Benjamin Graillot's avatar Benjamin Graillot Committed by Votre Nom

[irc.py] Coup de balai

parent d204bbde
#!/bin/bash /usr/scripts/python.sh
#!/usr/bin/python3
# -*- mode: python; coding: utf-8 -*-
#
# irc.py -- Script pour le choix du client IRC.
......@@ -33,16 +33,12 @@ configuration."""
#pylint: disable=line-too-long
from __future__ import unicode_literals
import os
import argparse
import sys
import dialog
import gestion.affichage as affichage
import locale
locale.setlocale(locale.LC_ALL, '')
......@@ -180,7 +176,6 @@ def launch_client(client_name):
os.execv(_cmd, (_cmd,))
if __name__ == '__main__':
(COLONNES, LIGNES) = affichage.getTerminalSize()
PARSER = argparse.ArgumentParser(description="Choix de client IRC", add_help=False)
PARSER.add_argument("-c", "--client", help="Choix direct du client", action="store", type=str)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment