Skip to content

Commit

Permalink
optimizing filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
mworion committed Aug 11, 2024
1 parent b5b5382 commit e73ab2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions mw4/gui/extWindows/downloadPopupW.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def getFileFromUrl(self, url: str, dest: str) -> bool:
if r.status_code != 200:
return False

self.signalStatus.emit(f'Downloading {os.path.basename(url)}')
self.signalStatus.emit(f'Downloading {os.path.basename(dest)}')
with open(dest, 'wb') as f:
for n, chunk in enumerate(r.iter_content(512)):
progressPercent = int(n * 512 / totalSizeBytes * 100)
Expand All @@ -116,7 +116,7 @@ def downloadFileWorker(self, url: str, dest: str, unzip: bool = False) -> bool:
"""
"""
if unzip:
downloadDest = os.path.dirname(dest) + os.path.basename(url)
downloadDest = os.path.dirname(dest) + 'unzip.gz'
else:
downloadDest = dest

Expand Down
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
python_requires='>=3.9.0, <3.13',
install_requires=[
'numpy==1.26.4',
'opencv-python-headless==4.10.0.82',
'opencv-python-headless==4.10.0.84',
'scipy==1.13.1',
'astropy==5.3.4',
'pyerfa==2.0.1.4',
Expand All @@ -101,14 +101,14 @@
'qimage2ndarray==1.10.0',
'skyfield==1.49',
'sgp4==2.23',
'requests==2.32.2',
'requests==2.32.3',
'requests_toolbelt==1.0.0',
'importlib_metadata==7.1.0',
'importlib_metadata==8.2.0',
'python-dateutil==2.9.0.post0',
'wakeonlan==3.1.0',
'pybase64==1.3.2',
'pybase64==1.4.0',
'websocket-client==1.8.0',
'hidapi==0.14.0',
'hidapi==0.14.0.post2',
'range-key-dict==1.1.0',
'ndicts==0.3.0',
'packaging==24.1',
Expand Down

0 comments on commit e73ab2e

Please sign in to comment.