Skip to content

Commit

Permalink
bug fix in pad_fieldid
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean-Morrison committed Oct 18, 2023
1 parent 44b3f5e commit cbac02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sdss_access/path/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ def pad_fieldid(self, filetype, **kwargs):
padd_fieldid in the form of N*'0' where N is the number of necessary zeros to pad fieldid
'''

fieldid = kwargs.get('fieldid', None)
fieldid = str(kwargs.get('fieldid', None))
run2d = kwargs.get('run2d', None)

if (not run2d) & (not fieldid):
Expand Down

0 comments on commit cbac02c

Please sign in to comment.