mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 13:55:24 +00:00
fixed tempfile bleed through
This commit is contained in:
@@ -256,9 +256,10 @@ def _handle_obsolete_wallets(old_wallet, dwgfile, scanfilename, parser_label):
|
||||
if w_renamed := _find_renamed_x_wallet(old_wallet, scanfilename, parser_label):
|
||||
return w_renamed
|
||||
|
||||
message = f" - Warning {parser_label} XFILES {old_wallet} {(old_wallet==x.group(1))} in {path}"
|
||||
# 'path' is not in scope here; use the drawing file's path for messages
|
||||
message = f" - Warning {parser_label} XFILES {old_wallet} {(old_wallet==x.group(1))} in {dwgfile.dwgpath}"
|
||||
print(message)
|
||||
DataIssue.objects.update_or_create(parser=parser_label, message=message, url=f"/dwgdataraw/{path}")
|
||||
DataIssue.objects.update_or_create(parser=parser_label, message=message, url=f"/dwgdataraw/{dwgfile.dwgpath}")
|
||||
return False
|
||||
|
||||
if old_wallet in old_wallets:
|
||||
|
||||
Reference in New Issue
Block a user