mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-02 11:41:34 +00:00
Fix order of params for create_new_image
This commit is contained in:
parent
5ae77bfa7b
commit
6c59611fb9
|
@ -11,7 +11,7 @@ valid_file_types = ['*.hda', '*.iso', '*.cdr']
|
|||
valid_file_types = r'|'.join([fnmatch.translate(x) for x in valid_file_types])
|
||||
|
||||
|
||||
def create_new_image(file_name, size, type):
|
||||
def create_new_image(file_name, type, size):
|
||||
if file_name == "":
|
||||
file_name = "new_image." + str(int(time.time())) + "." + type
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user