kopia lustrzana https://github.com/kartoza/docker-osm
add cast to float, change .gitignore
rodzic
0ae1c187bd
commit
c3d0f68f44
|
@ -2,3 +2,4 @@
|
||||||
*.*~
|
*.*~
|
||||||
osm_pbf/*.pbf
|
osm_pbf/*.pbf
|
||||||
osm_pbf/*.state.txt
|
osm_pbf/*.state.txt
|
||||||
|
settings/last.state.txt
|
||||||
|
|
|
@ -163,4 +163,4 @@ while True:
|
||||||
|
|
||||||
if len(listdir(default['IMPORT_QUEUE'])) == 0:
|
if len(listdir(default['IMPORT_QUEUE'])) == 0:
|
||||||
print 'Sleeping for %s seconds.' % default['TIME']
|
print 'Sleeping for %s seconds.' % default['TIME']
|
||||||
sleep(default['TIME'])
|
sleep(float(default['TIME']))
|
||||||
|
|
|
@ -119,4 +119,4 @@ while True:
|
||||||
|
|
||||||
# Sleep
|
# Sleep
|
||||||
print 'Sleeping for %s seconds.' % default['TIME']
|
print 'Sleeping for %s seconds.' % default['TIME']
|
||||||
sleep(default['TIME'])
|
sleep(float(default['TIME']))
|
||||||
|
|
Ładowanie…
Reference in New Issue