Skip to content

Commit

Permalink
Légère modifiation du parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael committed Feb 21, 2014
1 parent 94e04ba commit 747c243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xml/XmlParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static void main (String [] arg) {
System.exit(0);
}

if(arg[0].equals("*.xml")) {
if(!arg[0].contains(".xml")) {
System.err.println("Mauvais format de fichier (nécessite un fichier xml)");
System.exit(0);
}
Expand Down

0 comments on commit 747c243

Please sign in to comment.