Skip to content

Commit aa84f59

Browse files
committed
fix: use login method instead of Client constructor
1 parent afb0c5b commit aa84f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

moddb_comment_notifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def main():
110110
new_timestamp = int(now.timestamp())
111111

112112
try:
113-
moddb.Client(MODDB_USERNAME, MODDB_PASSWORD)
113+
moddb.login(MODDB_USERNAME, MODDB_PASSWORD)
114114
except moddb.errors.AuthError as e:
115115
print(f'Unable to read guest comments: Please disable 2FA for this ModDB account. {e}')
116116
except ValueError as e:

0 commit comments

Comments
 (0)