Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bonkzwonil committed Aug 30, 2023
1 parent 7d12cbd commit ccb8489
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xpss.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

sceneries = list(map(lambda x:x.strip(),list(filter(lambda x:x.startswith("SCENERY_PACK"), lines))))
header = list(map(lambda x:x.strip(),lines[0:4])) #first 4 lines -- obviously dirty :)
folders = False

if args.scandir:
import os
Expand Down Expand Up @@ -86,7 +87,7 @@ def findcat(txt, conf):
# In[160]:


folders = folders or list(map(lambda x: " ".join(x.split()[1:]), sceneries))
if not folders: folders = list(map(lambda x: " ".join(x.split()[1:]), sceneries))


# In[171]:
Expand Down

0 comments on commit ccb8489

Please sign in to comment.