Merge pull request #28 from ofalk/remove-prints

Remove noisy prints
This commit is contained in:
Colin Davis 2018-12-03 15:26:47 -05:00 committed by GitHub
commit 697207178c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,10 +157,8 @@ class Robohash(object):
roboparts = self._get_list_of_files(self.resourcedir + 'sets/' + roboset)
print(roboparts)
# Now that we've sorted them by the first number, we need to sort each sub-category by the second.
roboparts.sort(key=lambda x: x.split("#")[1])
print(roboparts)
if bgset is not None:
bglist = []
backgrounds = natsort.natsorted(os.listdir(self.resourcedir + 'backgrounds/' + bgset))