Skip to content

Commit d43973d

Browse files
committed
updated comment lines
1 parent 7e8230e commit d43973d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import configparser
44
import collections
55

6-
# This fixes AttributeError: module 'collections' has no attribute 'Iterable'
6+
# This fixes the "AttributeError: module 'collections' has no attribute 'Iterable'" error
77
collections.Iterable = collections.abc.Iterable
88

99
cfg = configparser.ConfigParser(inline_comment_prefixes=('#', ';'))
@@ -23,7 +23,7 @@
2323
for post in shop_orders:
2424
print(f"OrderID: {post.id}, Status: {post.post_status}, Date: {post.date}, Terms: {post.terms}")
2525

26-
# Filter for completed orders
26+
# Filter only the completed orders
2727
completed_orders = [post for post in shop_orders if post.post_status == 'wc-completed' ]
2828
print("Completed Orders:")
2929

0 commit comments

Comments
 (0)