cifrado r54 - trunk



Author: bersace
Date: Fri Jan 18 15:30:56 2008
New Revision: 54
URL: http://svn.gnome.org/viewvc/cifrado?rev=54&view=rev

Log:
Corrige "Crash au lancement sans paramÃtres".


Modified:
   trunk/ChangeLog
   trunk/cifrado.in

Modified: trunk/cifrado.in
==============================================================================
--- trunk/cifrado.in	(original)
+++ trunk/cifrado.in	Fri Jan 18 15:30:56 2008
@@ -10,7 +10,7 @@
 
 # main()
 cifrado = Cifrado()
-if sys.argv[1]is not None:
+if len(sys.argv) == 2:
     cifrado.charger(sys.argv[1])
 else:
     cifrado.nouveau()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]