diff frontend/mfrontend/utils.py @ 13:79cf8ca2a0e5

Dodałem pobieranie informacji o podanym zadaniu oraz pobieranie zadania oczekującego poprzez API
author Michał Rudowicz <michal.rudowicz@fl9.eu>
date Fri, 01 Apr 2011 19:02:08 +0200
parents 79fc37fe85a6
children
line wrap: on
line diff
--- a/frontend/mfrontend/utils.py	Sun Mar 27 17:13:44 2011 +0200
+++ b/frontend/mfrontend/utils.py	Fri Apr 01 19:02:08 2011 +0200
@@ -20,6 +20,7 @@
     config.set('Basic', 'Debug', '0')
     config.set('Basic', 'Secret_Key', randomString(10))
     config.set('Basic', 'HashCrypto', 'sha512')
+    config.set('Basic', 'ApiKey', randomString(10))
     with open('config.ini', 'wb') as configfile:
         config.write(configfile)