Skip to content

Commit

Permalink
windows filenames hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
baskiton committed May 19, 2024
1 parent 568a876 commit d872369
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SatsDecoder/systems/wtc_simba.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def clear(self):
def generate_fid(self, large=''):
if not (self.current_fid and self.merge_mode):
self.last_date = now = dt.datetime.now()
large = large and f'_LARGE-({"-".join(large)})'
large = large and f'_LARGE-({",".join(large)})'
self.current_fid = f'WildTrackCube-SIMBA_{now.strftime("%Y-%m-%d_%H-%M-%S,%f")}{large}'
return self.current_fid

Expand Down Expand Up @@ -288,8 +288,8 @@ def recognize(self, bb):
args = [
'raw',
self.NAME,
f'{csp_packet.hdr.src}:{csp_packet.hdr.src_port}',
f'{csp_packet.hdr.dest}:{csp_packet.hdr.dest_port}',
f'{csp_packet.hdr.src}-{csp_packet.hdr.src_port}',
f'{csp_packet.hdr.dest}-{csp_packet.hdr.dest_port}',
hasattr(s.packet, 'id') and f'{s.packet.id:02X}' or None,
raw_simba,
]
Expand Down

0 comments on commit d872369

Please sign in to comment.