Bugfixes.
This commit is contained in:
parent
4505fba099
commit
4a44c8af1d
@ -4,6 +4,13 @@ Car Sharing Analyser
|
||||
This is a collection of scripts and tools to gather, prepare and analyse data about a
|
||||
German car sharing company.
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
* Python 3.6 or newer (3.5 will probably work, too)
|
||||
* geopy
|
||||
* SQLite 3.7.11 or newer commandline client
|
||||
|
||||
|
||||
Gathering
|
||||
---------
|
||||
|
@ -43,6 +43,7 @@ class C2GImport:
|
||||
stamp_str = stamp.group(1)
|
||||
stamp_dt = datetime.datetime.strptime(stamp_str + "+0100", "%Y-%m-%d_%H%M%S%z")
|
||||
if stamp_dt <= max_date_dt:
|
||||
file_count -= 1
|
||||
continue
|
||||
ctr += 1
|
||||
self.scanfile(f, stamp_str, stamp_dt, ctr, file_count)
|
||||
|
Loading…
x
Reference in New Issue
Block a user