Browse Source

Bump known

Phyks (Lucas Verney) 4 years ago
parent
commit
7c15386298
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      blog/rss.xml
  2. 2
    2
      known.py

+ 1
- 1
blog/rss.xml View File

@@ -7,7 +7,7 @@
7 7
 		<language>fr</language>
8 8
 		<copyright>CC BY</copyright>
9 9
 		<webMaster>webmaster@phyks.me (Phyks)</webMaster>
10
-		<lastBuildDate>Fri, 02 Jan 2015 16:39:13 -0000</lastBuildDate>
10
+		<lastBuildDate>Fri, 02 Jan 2015 16:43:58 -0000</lastBuildDate>
11 11
 		<item>
12 12
 			<title>Gestion d'articles scientifiques avec BMC</title>
13 13
 			<link>http://phyks.me/2015/01/bmc.html</link>

+ 2
- 2
known.py View File

@@ -39,13 +39,13 @@ def known_api(username, api_key, type, payload):
39 39
                          data=payload,
40 40
                          headers=headers)
41 41
 
42
-if len(sys.arg) < 3:
42
+if len(sys.argv) < 3:
43 43
     print("Usage: "+sys.argv[0]+" USERNAME API_KEY [file]")
44 44
     sys.exit()
45 45
 
46 46
 API_USERNAME = sys.argv[1]
47 47
 API_KEY = sys.argv[2]
48
-if len(sys.argv) <=3:
48
+if len(sys.argv) <= 3:
49 49
     files = [list_directory(i) for i in ["2013", "2014", "2015"]]
50 50
 else:
51 51
     files = [sys.argv[3]]