瀏覽代碼

Update review dataset

Mohidul Islam 5 年之前
父節點
當前提交
af2df15a27
共有 2 個文件被更改,包括 5 次插入7 次删除
  1. 1 3
      review/review_utils.py
  2. 4 4
      review_data_set.csv

+ 1 - 3
review/review_utils.py

@@ -104,7 +104,7 @@ def insert_review_into_database(unrecorded_reviews, loc):
 
 def sync_all_review(loc_id):
     '''
-    Sync a location if any bad thing occur for example any network break.
+    Sync a location if any bad thing occur i.e. any network break.
     :param: loc_id -> Location id of a particular location
     :return: None -> It just update all reviews of this location and return nothing.
     '''
@@ -163,6 +163,4 @@ def populate_reviews():
         fetch_all_review(loc_id)
     end = timezone.now()
     elapsed = end - start
-    print('-----------------------------------------------------------------------------------------')
     print(f'Elapsed time: {elapsed.seconds//60} minutes and {elapsed.seconds % 60} secs.')
-    print('-----------------------------------------------------------------------------------------')

File diff suppressed because it is too large
+ 4 - 4
review_data_set.csv


Some files were not shown because too many files changed in this diff