Bläddra i källkod

Update output for tasks

Colin Powell 3 år sedan
förälder
incheckning
e31e245591
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      games/utils.py

+ 4 - 1
games/utils.py

@@ -62,6 +62,8 @@ def import_gamelist_file_to_db_for_system(
             logger.warning(
                 f"While importing {name} for {game_system}, duplicate entry found"
             )
+            print(f"While importing {name} for {game_system}, duplicate entry found")
+            continue
 
         if not created and not full_scan:
             not_imported_games.append(game)
@@ -233,7 +235,8 @@ def skyscrape_console(game_system_slug):
     )
     # TODO We should progressively pipe output to a log file instead of this
     # print(scrape_output)
-    print(load_output)
+    # print(load_output)
+    print(f"Scraped info for {game_system_slug}")
     return scrape_output, load_output