Skip to content

Commit

Permalink
addonman: shorten temp filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Sep 5, 2024
1 parent 0d16b50 commit 99aa251
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def versions_ordered(s1, s2):

def check_cudatext():

fn = os.path.join(get_temp_dir(), 'cudatext_download.html')
fn = os.path.join(get_temp_dir(), 'download.html')
url = DOWNLOAD_PAGE
app.msg_status(_('Downloading: ')+url, True)
get_url(url, fn, True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def is_file_html(fn):

def get_plugin_zip(url):
if not url: return
fn = os.path.join(get_temp_dir(), 'cudatext_addon.zip')
fn = os.path.join(get_temp_dir(), 'addon.zip')
get_url(url, fn, True)

if is_file_html(fn):
Expand Down
2 changes: 1 addition & 1 deletion app/py/cuda_addonman/work_cudatext_updates__sourceforge.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def versions_ordered(s1, s2):

def check_cudatext():

fn = os.path.join(get_temp_dir(), 'cudatext_download.html')
fn = os.path.join(get_temp_dir(), 'download.html')
url = DOWNLOAD_PAGE
app.msg_status(_('Downloading: ')+url, True)
get_url(url, fn, True)
Expand Down
2 changes: 1 addition & 1 deletion app/py/cuda_addonman/work_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def is_file_html(fn):

def get_plugin_zip(url):
if not url: return
fn = os.path.join(get_temp_dir(), 'cudatext_addon.zip')
fn = os.path.join(get_temp_dir(), 'addon.zip')
get_url(url, fn, True)

if is_file_html(fn):
Expand Down

0 comments on commit 99aa251

Please sign in to comment.