add cast to float, change .gitignore

pull/5/head
Etienne Trimaille 2015-07-30 15:14:47 +02:00
rodzic 0ae1c187bd
commit c3d0f68f44
4 zmienionych plików z 3 dodań i 2 usunięć

1
.gitignore vendored
Wyświetl plik

@ -2,3 +2,4 @@
*.*~
osm_pbf/*.pbf
osm_pbf/*.state.txt
settings/last.state.txt

Wyświetl plik

@ -163,4 +163,4 @@ while True:
if len(listdir(default['IMPORT_QUEUE'])) == 0:
print 'Sleeping for %s seconds.' % default['TIME']
sleep(default['TIME'])
sleep(float(default['TIME']))

Wyświetl plik

@ -119,4 +119,4 @@ while True:
# Sleep
print 'Sleeping for %s seconds.' % default['TIME']
sleep(default['TIME'])
sleep(float(default['TIME']))