Skip to content

Commit

Permalink
fix python3.5.6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
seebye committed Mar 4, 2019
1 parent 462787b commit cbbbe31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='18.1.2', # Required
version='18.1.3', # Required

# This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field:
Expand Down
3 changes: 1 addition & 2 deletions ueberzug/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ def weakref_cb(_, queue=self._work_queue):
queue.put(None)
num_threads = len(self._threads)
if num_threads < self._max_workers:
thread_name = '%s_%d' % (self._thread_name_prefix or self,
num_threads)
thread_name = '%s_%d' % (self, num_threads)
thread = threading.Thread(name=thread_name, target=_worker,
args=(weakref.ref(self, weakref_cb),
self._work_queue))
Expand Down

0 comments on commit cbbbe31

Please sign in to comment.