Skip to content

Commit 33511fd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2438d7e commit 33511fd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
beautifulsoup4
2+
DrissionPage ; python_version > '4.0.4.12'
23
fake_useragent
34
imageio
45
keras ; python_version < '3.12'
@@ -22,4 +23,3 @@ tweepy
2223
# yulewalker # uncomment once audio_filters/equal_loudness_filter.py is fixed
2324
typing_extensions
2425
xgboost
25-
DrissionPage ; python_version > '4.0.4.12'

web_programming/qimai_data.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,11 @@ def get_app_info(
8282
}
8383

8484
else:
85-
return {'error': 'Login failed'}
85+
return {"error": "Login failed"}
8686

8787
return dic
8888

89+
8990
if __name__ == "__main__":
9091
page = ChromiumPage()
9192
print(get_app_info(page, "YOUR USERNAME", "YOUR PASSWORD", "free"))

0 commit comments

Comments
 (0)