Browse Source

Forums and Markets status.

main
ericssonmarin-cpp 1 year ago
parent
commit
61c85e0547
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      MarketPlaces/Initialization/prepare_parser.py

+ 1
- 1
MarketPlaces/Initialization/prepare_parser.py View File

@ -363,7 +363,7 @@ def new_parse(marketPlace, url, createLog):
# move listing files of completed folder # move listing files of completed folder
move_file(listingFile, createLog, logFile) move_file(listingFile, createLog, logFile)
# registering the current forum status (up/down) in the database
# registering the current market status (up/down) in the database
marketId = verifyMarketPlace(cur, marketPlace) marketId = verifyMarketPlace(cur, marketPlace)
if (marketId > 0): if (marketId > 0):
create_status(cur, marketId, CURRENT_DATE, '1' if len(listings) > 0 else '0') create_status(cur, marketId, CURRENT_DATE, '1' if len(listings) > 0 else '0')


Loading…
Cancel
Save