Compare commits

..

No commits in common. "a44939a7be326ff211d354c6f6cf33c4bd412bf7" and "4b8de442aba8a757bc91df13531540d1765e873f" have entirely different histories.

3 changed files with 15 additions and 33 deletions

View File

@ -1,13 +1,13 @@
;; ----- smex-history -----
(
package-refresh-contents
read-only-mode
overwrite-mode
write-file
python-black
message-tab
python-black-on-save-mode
python-black-buffer
ispell
package-install
prettier-prettify
prettier-prettify-region
prettier-mode
)
;; ----- smex-data -----
@ -37,9 +37,9 @@
(compile . 2)
(lsp-mode . 2)
(load-theme . 18)
(overwrite-mode . 2)
(overwrite-mode . 1)
(goto-line . 2)
(package-refresh-contents . 2)
(package-refresh-contents . 1)
(epc:pop-to-last-server-process-buffer . 3)
(disable-theme . 1)
(table-insert . 3)
@ -50,7 +50,7 @@
(customize-themes . 1)
(ido-mode . 1)
(lsp-describe-session . 1)
(whitespace-mode . 6)
(whitespace-mode . 2)
(python-shell-switch-to-shell . 1)
(run-python . 2)
(display-fill-column-indicator-mode . 3)
@ -59,12 +59,6 @@
(prettier-mode . 2)
(prettier-prettify-region . 2)
(python-black . 9)
(python-black-on-save-mode . 2)
(python-black-on-save-mode . 1)
(message-tab . 1)
(find-file . 1)
(replace-string . 3)
(ispell . 2)
(python-black-buffer . 1)
(write-file . 1)
(read-only-mode . 2)
)

8
.gitignore vendored
View File

@ -13,14 +13,6 @@
.local/bin/pycodestyle
.local/bin/surprise
.local/bin/yamllint
.config/Signal/
.config/lazygit/
.config/libreoffice/
.config/quassel-irc.org/
.local/bin/pytube
.local/bin/spotify_dl
.packer.d/
.spotifydl/
.netrc
.nvimlog
.python_history

View File

@ -36,7 +36,7 @@ except ImportError:
gzip = None
GZIP_BASE = object
__version__ = '2.1.3'
__version__ = '2.1.2'
class FakeShutdownEvent(object):
@ -817,8 +817,6 @@ class HTTPDownloader(threading.Thread):
f.close()
except IOError:
pass
except HTTP_ERRORS:
pass
class HTTPUploaderData(object):
@ -884,7 +882,7 @@ class HTTPUploader(threading.Thread):
self.request = request
self.request.data.start = self.starttime = start
self.size = size
self.result = 0
self.result = None
self.timeout = timeout
self.i = i
@ -919,8 +917,6 @@ class HTTPUploader(threading.Thread):
self.result = 0
except (IOError, SpeedtestUploadTimeout):
self.result = sum(self.request.data.total)
except HTTP_ERRORS:
self.result = 0
class SpeedtestResults(object):
@ -1174,9 +1170,9 @@ class Speedtest(object):
# times = get_attributes_by_tag_name(root, 'times')
client = get_attributes_by_tag_name(root, 'client')
ignore_servers = [
int(i) for i in server_config['ignoreids'].split(',') if i
]
ignore_servers = list(
map(int, server_config['ignoreids'].split(','))
)
ratio = int(upload['ratio'])
upload_max = int(upload['maxchunkcount'])