If the known.txt file is missing the detailed offers are not retrieved/processed. Because of that the flat offers are neither counted nor displayed.
The reason for that is, that here the file is opened with "r+" which does not create a non-present file (see documentation).
This can be easily fixed by manually creating the file but a fix for the code would be nice. However my first naive attempts to just use "w+" or "a+" did not yield the expected behaviour. I have to do more research on this.
If the known.txt file is missing the detailed offers are not retrieved/processed. Because of that the flat offers are neither counted nor displayed.
The reason for that is, that here the file is opened with "r+" which does not create a non-present file (see documentation).
This can be easily fixed by manually creating the file but a fix for the code would be nice. However my first naive attempts to just use "w+" or "a+" did not yield the expected behaviour. I have to do more research on this.