Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
uygulama basinda internet kontrolu https uzerinden yapiliyordu. tls h…
Browse files Browse the repository at this point in the history
…atasi alindigindan dolayi http haline getirildi.
  • Loading branch information
mthnglac committed Jul 15, 2020
1 parent 6526703 commit 2f7c757
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[flake8]
ignore = E203, E266, E501, W503
# line length is intentionally set to 80 here because black uses Bugbear
# See https://github.com/psf/black/blob/master/README.md#line-length for more details
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ fbs = "*"
pyside2 = "*"
youtube-dl = "*"
requests = "*"
pynvim = "*"
jedi = "*"

[requires]
python_version = "3.6.8"
70 changes: 69 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions src/main/python/Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]

[requires]
python_version = "3.8"
3 changes: 1 addition & 2 deletions src/main/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ def __init__(self):

# check network setup
self.net_manager = QNetworkAccessManager()
self.test_url = QUrl("https://www.google.com/")
self.test_url = QUrl("http://www.google.com/")
self.test_req = QNetworkRequest(self.test_url)
self.test_res = self.net_manager.get(self.test_req)
# self.test_res.finished.connect(self.processRes)
# noinspection All
self.test_res.error.connect(self.processErr)
self.test_msg = QMessageBox()

Expand Down

0 comments on commit 2f7c757

Please sign in to comment.