@@ -22,11 +22,11 @@ def parse_tz(tz):
2222
2323def parse_args ():
2424 parser = ArgumentParser (description = "cli for ccfddl" )
25- parser .add_argument ("--conf" , type = str , nargs = '+' ,
25+ parser .add_argument ("--conf" , type = str , nargs = '+' ,
2626 help = "A list of conference ids you want to filter, e.g.: '--conf CVPR ICML'" )
27- parser .add_argument ("--sub" , type = str , nargs = '+' ,
27+ parser .add_argument ("--sub" , type = str , nargs = '+' ,
2828 help = "A list of subcategories ids you want to filter, e.g.: '--sub AI CG'" )
29- parser .add_argument ("--rank" , type = str , nargs = '+' ,
29+ parser .add_argument ("--rank" , type = str , nargs = '+' ,
3030 help = "A list of ranks you want to filter, e.g.: '--rank C N'" )
3131 args = parser .parse_args ()
3232 # Convert all arguments to lowercase
@@ -89,12 +89,12 @@ def main():
8989
9090 all_conf_ext = sorted (all_conf_ext , key = lambda x : x ['time_obj' ])
9191
92- # This is not an elegant solution.
93- # The purpose is to keep the above logic untouched,
92+ # This is not an elegant solution.
93+ # The purpose is to keep the above logic untouched,
9494 # return alpha id(conf name) without digits(year)
9595 def alpha_id (with_digits : string ) -> string :
9696 return '' .join (char for char in with_digits .lower () if char .isalpha ())
97-
97+
9898 table = [["Title" , "Sub" , "Rank" , "DDL" , "Link" ]]
9999 # Filter intersection by args
100100 for x in all_conf_ext :
@@ -108,8 +108,8 @@ def alpha_id(with_digits: string) -> string:
108108 if skip :
109109 continue
110110 table .append (
111- [x ["title" ],
112- x ["sub" ],
111+ [x ["title" ],
112+ x ["sub" ],
113113 x ["rank" ],
114114 format_duraton (x ["time_obj" ], now ),
115115 x ["link" ]]
0 commit comments