Skip to content

Commit

Permalink
Version 1.3 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily3403 committed May 1, 2022
1 parent 1bf485c commit db486ba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/isisdl/backend/request_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,6 @@ def check_for_conflicts_in_files(files: List[MediaContainer]) -> List[MediaConta
for file in {file.path: file for file in files}.values():
hard_link_conflicts[f"{file.course.course_id} {file._name} {file.size}"].append(file)

# TODO: More conflict: If two files have the same download url (across courses), hard link them.
for conflict in hard_link_conflicts.values():
if len(conflict) != 1:
conflict.sort(key=lambda x: x.time)
Expand Down
2 changes: 1 addition & 1 deletion src/isisdl/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
error_text = "\033[1;91mError:\033[0m"

# Static settings
is_static = True
is_static = False

if is_static:
isisdl_executable = os.path.realpath(sys.argv[0])
Expand Down
2 changes: 1 addition & 1 deletion src/isisdl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ def __init__(self) -> None:
self.messages = Queue()
self.done = Queue()
self.generic_msg = {
"username": User.sanitize_name(config.username), # TODO
"username": User.sanitize_name(config.username),
"OS": platform.system(),
"OS_spec": distro.id(),
"version": __version__,
Expand Down

0 comments on commit db486ba

Please sign in to comment.